All of that to say, I'm not an expert. I'm hoping you learn a little something from me, but I'm also hoping this can be a conversation and that I'll learn something from all of you.
You can download the slides here.
You can also set the syntax for your current file without digging through the menu at the bottom of the screen. Just bring up the Command Palette & search for "Set Syntax," selecting the appropriate syntax highlighting.
First, let's install Package Control.
Choose and copy the appropriate Python code.
In Sublime, cntl + ` to open the console, and paste the Python code.
Quit & reopen Sublime Text. Now you can install packages!
Now when you search for "Package Control: Install Package," you'll find Package Control & a list of possible packages you can add to your Sublime Text.
You can also browse Will Bond's Package Control to see what else is out there.
The packages I install most often have to do with syntax highlighting.
I haven't used Emmet yet, but it looks pretty helpful if you write lots of markup.
Same as installing packages, bring up the Command Palette, search for Package Control: Remove Package, and select the package you'd like to uninstall.
Some of the Packages you install will be added to the Preferences > Package Settings menu, where you can update user settings for those specific packages.
Let's go to Preferences > Settings - Default. Don't edit anything, let's just look at what's here.
To edit your preferences & settings, make sure to use Preferences > Settings - User. This ensures that your settings won't get overwritten when Sublime Text updates.
{
"binary_file_patterns":
[
"dest/"
],
"bold_folder_labels": true,
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme",
"font_size": 14.0,
"highlight_line": true,
"highlight_modified_tabs": true,
"line_numbers": true,
"ignored_packages":
[
"Vintage"
]
}
"binary_file_patterns": [ "dest/" ]
"highlight_modified_tabs": true
"save_on_focus_lost": false
You can create syntax-specific user settings files.
This is handy if you want different color schemes or different indentation settings for different syntaxes.
Package Control has a good guide on how to sync your preferences between different machines you may use via Git or Dropbox.
These are the resources I used to put together this class:
Let's chat.