Instructions for setting up Sublime Text 3
Last updated 2020-04-16 by Adam Lu
-
Add additional syntax packages
-
Navigate to
\\128.143.15.11\adamX\Settings_Sublime_Textand note the foldersPackages/NeuronandPackages/NMODL -
Copy these files to your local computer:
-
On Windows:
-
Open a File Explorer
-
Click on the icon on the upper left right next to the arrows so you can edit the path
-
Type the following path (replace
userwith your Windows user name):C:\Users\user\AppData\Roaming\Sublime Text 3\PackagesNote: The AppData folder is hidden so you won’t be able to navigate to it. Sublime Text has to be opened at least once for this path to be created.
-
Copy the folders
Packages/NeuronandPackages/NMODLto this directory
-
-
On Mac:
-
Open Finder
-
From the Go menu, click on Go to Folder
-
Type the following path (replace
usernamewith your Mac user name):/Users/user/Library/Application Support/Sublime Text 3/PackagesNote: The Library folder is hidden so you won’t be able to navigate to it.
-
Copy the folders
Packages/NeuronandPackages/NMODLto this directory
-
-
-
-
Install add-on packages:
- Click on
Tools -> Install Package Control - Click on
Preferences -> Package Control, then type or chooseInstall Package - Look for these packages (they will be instantly installed when you click on them):
- ExportHTML
- HighlightWords
- TOML
- LSP
- R-IDE (Download and install R)
- Click on
- Add preference settings used by Adam
-
Navigate to
/media/adamX/Settings_Sublime_Textand note the folderPackages/User -
Copy these files to your local computer:
- Navigate to
C:\Users\user\AppData\Roaming\Sublime Text 3\Packages(Windows) or/Users/user/Library/Application Support/Sublime Text 3/Packages(Linux) as before. - If a subdirectory
Useralready exists, copy the contents ofPackages/Userto the subdirectory. Otherwise, copy the entire subdirectory to your localPackages.
- Navigate to
-
- Make Sublime Text the default editor for certain file extensions
- Some common file extensions:
.sublime-project,.txt,.m,.yml -
On Windows:
- Open a File Explorer
- Navigate to a file of the extension type of interest
- Right click on the file and choose
Open with - If Sublime Text doesn’t show up, click on
More Apps - If Sublime Text still doesn’t show up, click on
Look for another app on this PC - Go to
C:\Program Files\Sublime Text 3and choose the application filesublime_text.exe
- On Mac:
- Some common file extensions: