Easely add plugins to Sublime Text 2

Download Sublime Text 2 (at this moment the lastest build is 2181) and install it:

Mac
Windows 32 bits
Windows 64 bits
Linux 32 bits
Linux 64 bits

Update: You can install Sublime Text 2 in Ubuntu using apt-get running those 3 commands:

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

Once inside Sublime Text 2 make visible the console with “View->Show Console”.

Run the next command (it’s only one line) in the console. You will not see any feedback but it’s ok.

import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())

Restart Sublime Text 2 and press Control+Shift+P (GNU/Linux and Windows) or Command+Shift+P (Mac) to show the menu where you can see the options of the “Package Control”. Go to “Package Control: Install Package” and search for a package you want to install.

In http://wbond.net/sublime_packages/community you can find many plugins to install by “Package Control”. Just copy the URL of the Github project, go to “Package Control: Add Repository” and add it. Then in “Package Control: Install Package” search that particular package on the list and click on it.

You might also like

Use Sublime Text 2 to beautify HTML, CSS and JavaScript
First of all you have to install Package Control in Sublime Text 2 as I explained before. Then install...

Use Sublime Text 2 to beautify HTML, CSS and JavaScript
First of all you have to install Package Control in Sublime Text 2 as I explained before. Then install...

Add Twig syntax highlight in Sublime Text 2
Select the "Preferences->Browse Packages..." menu to open the folder that contains Sublime Text 2 packages. Download...

Open a file in Sublime Text 2 from command line
The idea is to create a symbolic link to the Sublime Text's executable and put in the system's path (execute...

  1. Muchas gracias, me sirvió mucho.

  2. Buenisimo, mas facil que ir copiando carpetas.
    En linux no puedo hacer que se habilite el paquete Arduino-Like Ide de stino. Siempre aparece deshabilitado.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.