Pages

Monday, November 05, 2012

Setting up portable Sublime Text 2

Here are links to Sublime Text 2, some instruction texts, and plugin repositories I used to set up a portable instance of this excellent development editor. I also mixed Windows and Linux version so I'll see how that will work out.

Sublime Text 2 (link)

Dev Build (link)

Nightly Builds (link)

==================================

Data directory

See Basic Concepts (link).

Data directory in portable version contains user data which is located in

Windows: %APPDATA%\Sublime Text 2
Linux: ~/.config/sublime-text-2

when using installed version.

=====================================

Sublime Package Control

Package Control homepage (link).

I had issues loading the repository via SSL. In that case edit Package Control.sublime-settings, in Data\Packages\Package Control\, and use http instead of https.
=====================================

CoffeeScript

Instructions 1 (link), instructions 2 (link).
Instead of CoffeeScript compiler for Windows (link) install the official CoffeeScript compiler. See this link for more details. In essence, install node.js and then CoffeeScript as a node plugin. This will install a command-line version of the compiler.

In the file User/CoffeeScript.build-settings, Path parameter is pointing to the location of the coffee executable.

Build on Save (link)

Add "coffee" to the file types (Preferences -> Package Settings -> SublimeOnSaveBuild -> Settings-User).
=====================================

TFS

Sublime TFS (link)
Team Foundation Server Power Tools December 2011 (link)

No comments: