Category Archives: Sublime Text

Mac OSX: Run Sublime from your terminal

Posted on in Environment Sublime Text

Wouldn't it be cool to navigate within your terminal to your project folder and then run sublime with the following command: subl . It's easy to setup... Add the bin folder to your paths: First open your ~/.bash_profile file. (it's hidden so you will need to enable hidden folders.) Add the following line: export PATH=~/bin:$PATH […]

Read more »

Handy Sublime Shortcuts

Posted on in Environment Sublime Text

Command + Shift + P - Opens the magic dropdown 😉 Command + Shift + P > Package Control: Install Package - go install nice plugins Command + P > : - go to line number Command + P > @ - gives you a list of all the methods in this file. Command + […]

Read more »

Projects in Sublime Text 2

Posted on in Environment Sublime Text

Working with projects in Sublime Text 2 is less straightforward compared to any other editor or IDE. Though it's easy to setup: Open Sublime File > Open (select project folder) Project > Add folder to project Select project folder and press ok. Project > Save project as 2 files will be created: untitled.sublime-project & untitled.sublime-workspace […]

Read more »

Mac OSX: How to install JSHint to the commandline / Sublime Text with Node

Posted on in Environment Sublime Text

Install Node: http://nodejs.org/download/ Download the Mac OS X package, and install it. Test by opening up a Terminal and typing "node -v". It should say something like "v0.8.11" or higher. Install NPM (package manager) https://npmjs.org/ curl http://npmjs.org/install.sh | sh Install JSHint via NPM sudo npm -g install jshint To have JSHint installed in Sublime, use […]

Read more »