Some things beginners might not know about Sublime Text
101–110 of 116 posts
Re: Some things beginners might not know about Sublime Text
#102Re: Some things beginners might not know about Sublime Text
#103Earlier quoted context omitted.
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.ur…
Your reaction is understandable but wrong. It's a ugly, horrific block of code that you copy/paste and never think of or see again. The package manager itself makes the installation and management of 3rd party packages incredibly easy. It's super impressive really. Naturally people ask if the 3rd package manager will become an official feature but that opens up a new can of worms.
Re: Some things beginners might not know about Sublime Text
#104Earlier quoted context omitted.
This is a worthless, false platitude.
So we know your stance on courtesy and respect to others.
Re: Some things beginners might not know about Sublime Text
#105Also a must-have: Sublime Package Control 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.ur…
"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
Re: Some things beginners might not know about Sublime Text
#106Cmd + d selects the current word. Subsequent Cmd + d presses will select the following instance of the word for editing. Makes it easy to do things such as renaming a local variable or changing both the opening and closing element of a HTML tag.
Re: Some things beginners might not know about Sublime Text
#107Also a must-have: Sublime Package Control 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.ur…
I'd prefer that to a black-box installer.
Re: Some things beginners might not know about Sublime Text
#108I hadn't noticed this before, but you can create a new file by (double?) clicking anywhere in the empty area in the tab bar.
Re: Some things beginners might not know about Sublime Text
#109Re: Some things beginners might not know about Sublime Text
#110Earlier quoted context omitted.
What's really wild is if you do CMD+d several times and then move around with the arrow keys. Multiple cursors follow you around. I'm not sure if this is useful, but it's certainly cool.
Way useful. You can, for example, select all instances of a variable name, then rename it selectively from the middle of the selection if you want. Also good to note: Command-F find also has a "Find All" option which can be faster than pressing Command-D multiple times, and also allows more complex non-word and regexp searches. From there you can use multiple cursors or replace the whole selection just by typing. Bri…
One minor complaint: I wish cmd+D had a "whole words only" setting. Its confusing when using with the "highlight all matches" feature, which is "whole words only" IIRC.