http://wbond.net/sublime_packages/package_control
Useful for installing things like themes, syntax awareness, code linters, etc...
http://wbond.net/sublime_packages/package_control
Useful for installing things like themes, syntax awareness, code linters, etc...
Installation is through the Sublime Text 2 console. This is
accessed via the ctrl+` shortcut. Once open, paste the following command
into the console:
import urllib2,os; pf='Package
Control.sublime-package'; ipp=sublime.installed_packages_path();
os.makedirs(ipp) if not os.path.exists(ipp) else None;
urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler()));
open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbon
d.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime
Text to finish installation'
Are you kidding me? The product or package maintainer should handle this better.Plus it's easy as pie, and as anyone who's actually used Package Control knows, it would be worth it if you had to pluck a hair from an Argentinian llama and place it in your USB port while reciting the gregorian chant from Monty Python and the Holy Grail to install it. One line of actual Python is simply a convenient shortcut.
Man, you got that right. They should make it so that it can be installed through Package Control.
Oh, wait...
For a bootstrapping method, this seems completely reasonable. It doesn't involve downloading inscrutable single-platform installers, or opening a shell window, or any other external dependencies. The whole process runs inside the one environment you're guaranteed to have: Sublime Text itself.
Naturally people ask if the 3rd package manager will become an official feature but that opens up a new can of worms.
"Computer people generally design terrible computer interfaces because they are not only willing to cope with something bad, they're pleased to."
- Alan kay, Personal Computing Historic Beginnings
I'd prefer that to a black-box installer.