Sublime Text 2

Installation and setup is a little clunky in Sublime Text 2. Hopefully this can be improved as the editor matures. We really need an api call to allow us access to the current project file (hint, hint).

This installation includes a number of "snippets", so you can quickly construct common blocks of code, but these snippets have simply been quickly copied from the Sublime's Java support, and include no Salesforce-specific features. If anybody is keen on extending these, we'd be happy to update the package!

We have begun the process of making this code available on Github as part of

  • Install Java and ensure it's on your path.
  • Install Exuberant ctags and ensure it's on your path. (sudo apt-get install ctags)
  • Install Sublime Text 2
  • Start Sublime Text 2
  • Select menu item "Preferences : Settings - User" and add a setting that defines the location of the Stuntbyte all-purpose "jdbc" jar file you downloaded from the download page. Save the change. eg:
"stuntbyte_jar": "/apps/stuntbyte/stuntbyte-sfdc-1.4.jar"
cd ~/.config/sublime-text-2/Packages/ (Linux)
cd "%APPDATA%/Sublime Text 2/Packages" (Windows)
cd "~/Library/Application Support/Sublime Text 2/Packages" (Mac OS)
git clone (or download the zip)