Attention: This article is a work in progress.
So I’ve been using Sublime for quite a while, but I never really did bother trying to get the most of it. It was not until S.Z. helped me out and change my workflow did I start trying to get more into it. Here’s a couple things I found out you could do with it.
The Master Command
Remember it now, and don’t forget it: cmd-shift-p. It’s the shortcut of shortcuts.
Using it, you will be able to install packages and easily access all extended functionalities from your plug ins as well as Sublime itself.
Download Package Control. It will make downloading packages and themes a breeze.
Install Themes and Color Schemes
After you’ve installed Package Control, try customizing your Sublime’s appearance and make it your own. There’s no best theme, only a theme you like. So have fun with it!
Download Colorsublime to change themes in real time. Helped me decide what theme to choose.
Install Plugins (T.B.U.)
what are some good plug ins to install?
Turn your Sublime into an IDE
Note: I base my choices off of number of github commits, active developer community, and basic research. If, after using it myself, I think the quality is acceptable, I’ll write about it in here.
Install the SublimeLinter package to style check your code for errors. Helps massively with debugging. Sublime Linter is just an interface; you’ll need to download specific linters from Sublime Linter’s list of options.
Building a JS IDE
If you need a JS linter, many people recommend SublimeLinter-jshint.
Building a Python IDE
Get it for autocompletion, documentation, goto definitions, and more. Follow the installation instructions.
Suggestion: disable Anaconda’s default linting and use SublimeLinter-pylint instead.
Self Customization (T.B.U.)
Haven’t really tested this out myself, but one thing I did was add indentation guides to my Sublime. It makes it a lot easer to see what level of indentation I am in (especially useful for indent based languages such as Python).
List of Customizations:
Customization 1: Adding Indentation Guide Lines
Add indent guide lines.
Reference nick1’s answer at Sublime’s Forums to edit the colors of the lines. In order to edit the colors, you’ll need to find the file of the theme you’re using, and edit it directly. For example, I needed to find “Aurora.tmTheme” which was located in my “~/Library/Application Support/Sublime Text 3/Packages/User” folder (you’ll probably need to dig around to find the correct file).
If you don’t like nick1’s colors, edit them! I played around and settled on making the activeGuide gold and the stackGuide gray. Here’s the code:
Customization 2: ???
Seeing Mac Hidden Files + Folders
Can’t believe I actually had to search this up to figure it out… but if you want to be editing the nitty gritty details of any application, you’ll need to learn these commands:
cmd-shift-. (lets you show/hide hidden files)
cmd-shift-g (lets you select what folder to go to AND see all the hidden folders located there)
You’ll probably need to be visiting the ~/Library/Application Support folder quite a bit.
Native Sublime Functionality
Okay, that’s enough for one sitting…
I’ll update this series periodically as I master Sublime and discover more things!