Sublime Text 3: Package Control‏

Denzil Doyle
3 min readJan 7, 2019

--

If you have recently installed Sublime Text on your computer and are wondering how to set up your developer environment in order to start knocking out some awesome websites quickly like the pros a good idea might be to download Sublime Text Package Control. Package Control is a simple method of installing packages in Sublime Text. In other words, it helps you customize Sublime just the way you want it.

Colour schemes

Apple Pips Color Scheme

Appealr

Nice Blue Soda

Install code snippets

Just type “html5” and hit the [tab] key and get all this:

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title></title> <link rel="stylesheet" href=""> </head> <body> </body> </html>

HTML5 Code Snippets

Sublime text extensions

Add a color picker so you wont need to remember that #ffffff is white #00000 is black or #00BEFD is the best blue in the world.

Color​Pick

How to install

So here’s how to get it. Go to here select the version of Sublime Text you use from the gray tabbed area (in my case, at the time of this post, Sublime Text 2), and copy and paste the code into Sublime Text control panel as explained on the page.

import urllib2,os; pf=’Package Control.sublime-package’; ipp = sublime.installedpackagespath(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.installopener( urllib2.buildopener( urllib2.ProxyHandler( ))); open( os.path.join( ipp, pf), ‘wb’ ).write( urllib2.urlopen( ‘http://sublime.wbond.net/' +pf.replace( ‘ ‘,’%20' )).read()); print( ‘Please restart Sublime Text to finish installation’)

When that’s done you should be prompted to restart Sublime Text. Do so by simply closing it and re-opening it. Type ctrl + shift + p and search for package control: installpackage when you find it hit enter. Search for the package you wish to download and press enter to install. It’s as simple as that. More information on each package found on Sublime Text Package Control can be found on their website.

Some packages I use are listed below:

HTML5: https://sublime.wbond.net/packages/HTML5

HTML Snippets: https://sublime.wbond.net/packages/HTML%20Snippets

HTML Email Snippets: https://sublime.wbond.net/packages/HTML%20Email%20Snippets

CSS Snippets: https://sublime.wbond.net/packages/CSS%20Snippets

Codeignighter Snippets: https://sublime.wbond.net/packages/CodeIgniter%20Snippets

Awesome! You are now a Sublime text package hero! Happy coding ☺

Previously published 2013 — blog.apsolute-tt

--

--

Denzil Doyle

Web & Mobile, UI Designer & Front-End Dev. 🇹🇹 Problem solver. Freelancer. Podcast addict. Hobbyist​ Photographer. Mad Scientist. Occasional comedian.