Unless you’ve lived under a rock lately, I’m sure you’ve heard of Sublime Text 2 and most likely that’s your favorite code editor.
In the past I used some other code editors like Komodo Edit or Aptana Studio, but now I use Sublime Text 2 on a daily basis and I’m pretty happy with it. It’s lightweight, easy to use and has a modern UI look. But by far, the best feature is the ability to extend its functionality with plugins, a.k.a packages.
Ctrl+P
) is a time saver as you can quickly jump between files. Also, the Command Pallete (
Ctrl+Shift+P
) is very useful when trying to switch file’s syntax for example or search/change preferences.
Shift+F11
) whenever I want to focus even more on writing code.
If you want to dive into the world of Sublime Text 2, then you don’t want to miss this awesome free video course by Jeffrey Way. He’ll convince you that Sublime Text 2 is merely the best code editor available today. Warning, he’s quite convincing! 🙂
First of all, you should install Sublime Package Control. It helps discovering, installing, updating and removing packages for Sublime Text 2. Alternatively, you’ll have to manually install the plugins you need.
List of installed packages.
Here are some packages I’m currently using:
Emmet (previously known as Zen Coding) is a web-developer ™s toolkit that can greatly improve your HTML & CSS workflow. It’s available for multiple code editors, including Sublime Text 2 as well. Also, as mentioned in their docs, Emmet is developed and optimised for web-developers whose workflow depends on HTML/XML and CSS, but can be used with programming languages too.
If you are a Sublime Text 2 addicted and a fan of abbreviations then you may give Hayaku a try too. With Hayaku you don’t need to remember abbreviations and use cheatsheets. You can write just any way you like the abbreviations to be and Hayaku would try it’s best to guess what you need.
Speaking of customization, I frequently use the ANT build system and running custom build targets directly from Sublime Text 2 is super useful.
Using the Command Pallete (
Ctrl+Shift+P
) you can easily run an ANT target just by typing its name.
Here’s an example that contains two ANT build targets defined:
{
"selector": "source.java",
"working_dir": "${project_path}",
"cmd": ["ant.bat"],
"variants": [
{ "cmd": ["ant.bat", "clean"],
"name": "Clean"
},
{ "cmd": ["ant.bat", "deploy-text"],
"name": "deployText"
}
]
}
Don’t forget to browse the whole list of published packages. You’ll always find something useful there. My latest discovered package that I want to give it a try soon is Sublime SVN. Also, if you want an even cooler icon for Sublime, you have some options.
Good luck with coding!
A great font/script for creating beautiful logos, posters, wedding invitations, blog posts, social media, and…
Realistic T-Shirt Mockup PSD which you can use freely to showcase your apparel design.
Classic coffee mug Mock-up Free PSD. Free mug mockup PSD to showcase your branding design…
Juliette - Stylish Handwritten Signature Font
XXII Aven Font Family - a new modern all-caps sans serif font with versatility in creativity.