News for hackers. Stuff that matters.
Re:Sublime Text 3 Updated by wickchuck on Tuesday August 26, 2014 @11:20AM (#8227577)
Anyone have a clue as to what were supposed to be able to do with this "Windows: Added command line helper, subl.exe". I'm guessing it's mainly for a shorter exe name to add to your path when launching sublime from the command line, but maybe I'm missing something?
Re:Sublime Text 3 Updated by dedward on Tuesday August 26, 2014 @11:26AM (#8227616)
It's just to launch the editor from the command-line.

IT's nothing new - sublime text 2 (at least on OS X) had the "subl" command so you could launch an edit session from the cli.. I assumed the rest had the same.

It's certainly not a new feature or anything to celebrate.

Re:Sublime Text 3 Updated by ben336 on Tuesday August 26, 2014 @11:59AM (#8227839)
It is new on Windows.
Re:Sublime Text 3 Updated by aenario on Tuesday August 26, 2014 @12:06PM (#8227889)
not so much, you could always do sublime somedirectory and it will open it. It appears the novelty is the --help option and more importantly the --wait option, so you could include sublime in a script workflow (as a git commit editor ?)
Re:Sublime Text 3 Updated by gcassie on Tuesday August 26, 2014 @12:03PM (#8227873)
If it works like the OSX subl command, it integrates with git nicely so it can pause git commands to allow you edit commit messages in sublime and resume the command once you save. If you try to do this with standard exe in windows, the git command will run start to finish and you will not be able to edit the commit messages in sublime.
Re:Sublime Text 3 Updated by Tyr42 on Tuesday August 26, 2014 @11:57AM (#8227827)
The reason it exists is for things like git, so they can launch the editor aimed at a commit message, then block until the editor closes and then continue.

It's also useful if you want to open the editor aimed at a file in the current directory without re-navigating there in the gui.