Maximizing Your Efficiency in Sublime Text
Finding little ways to improve your efficiency in Sublime Text can really add up.
As knowledge workers, there’s a huge benefit to us knowing how to do things are quickly as possible in our environments of choice. It doesn’t mater if that’s an IDE or Excel every second saved can really add up.
I use Sublime Text every day at work and some days when I’m not working (today I’m off work but I’m working on this post using Sublime Text) so I thought it would be a good place to start. The goal is to release short posts every week so instead of having to digest a HUGE article with tips you can learn a few and them apply those to your daily work. Some of my examples will be geared towards PHP developers specifically but I think most will be applicable to anyone using Sublime Text.
If you feel like I’ve forgotten something or want something added please feel free to leave a comment on this page and we’ll add it.
I know what you’re thinking. How can right clicking make me more efficient in Sublime Text.
The user settings are a powerful tool for overriding some of Sublime’s default settings with ones that make it easier for you to work.
One of the great things about Sublime Text is that it’s intelligent enough to look at the file you’ve opened and provide context sensitive.
As we talked about last time, Sublime Text will autocomplete specific keywords that are defined by either the Sublime Text crew or a plugins developers. What if I told you that it’s possible to create snippets to create your own keywords to speed up your development.
Another feature that makes Sublime Text a little easier to work with is Plug-ins. Like all plug-in systems, Sublime Text’s Plug-in system allow for developers to extend Sublime Text’s functionality without having to submit a pull request or bloat the core. There are a huge number of plug-ins to pick from but I’m going focus on several that I’ve found to be very helpful in my PHP development.
One of the things you’ll find annoying if you’re trying to adhere to the PSR standards is that it’s hard to notice things like extra spaces at the end of lines and that you don’t have a blank line at the end of your file. You can run something like phpcbf to fix the file before you commit (and that’s a perfect option which will discuss in another article) but it’s nice to have sublime clean up whenever possible before you save.
One of the best features in Sublime Text is the way it makes it simple to open file and find specific pieces of code inside your project. In this article we’ll discuss how to use some of the Goto menu items.
There are a couple features inside the “View” menu that will really help you maximize your efficiency in Sublime Text. This article goes through several of those options and where it’s helpful.
Sublime text provides two helpful features that will make pasting text a lot easier.