Sublime Text 3 – First use, setup

I am personally huge fan of Sublime Text 3 Editor and I use it everyday.

First run and Package Manager

After installing, there are couple of things to do in order to use the full power of Sublime.

Package Manager is the first thing you’ll have to run after installation. Simply navigate to View > Show console and paste the following code:

import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

Once installed, restart your Sublime Text Editor.

Run your Sublime Text Editor and open up the “Command Palette” located inside Tools menu, or hitting the keys on Mac CMD + Shift + P or CTRL + Shift + P on Windows.

Start typing “install package” and hit Return (Enter).

These are couple of packages I use in my everyday use:

  • Emmet
  • Gitignore
  • HTML5 Beautify
  • Package synching 
  • Less
  • Sass
  • SassBeautify
  • SCSS
  • Search WordPress Codex or QueryPosts
  • WordPress
  • Bootstrap 3 Snippets