News for hackers. Stuff that matters.
Re:Some things beginners might not know about Sublime Text by fserb on Sunday July 15, 2012 @11:56AM (#4247191)
I normally do Cmd+N (Create an empty file) Cmd+S (save it). Isn't this sort of the same?
Re:Some things beginners might not know about Sublime Text by h0munculus on Sunday July 15, 2012 @12:26PM (#4247279)
But then syntax highlighting is off until you close and reload it, which is annoying. I usually have a terminal open to the project anyway so I just use 'touch' to create the file I want.
Re:Some things beginners might not know about Sublime Text by jskinner on Sunday July 15, 2012 @01:25PM (#4247439)
By default, the appropriate syntax highlighting will be set on the file the first time it gets saved.
Re:Some things beginners might not know about Sublime Text by Hovertruck on Sunday July 15, 2012 @12:42PM (#4247324)
CMD+Shift+P -> "JS" or "Py" or something sets the syntax highlighting.
Re:Some things beginners might not know about Sublime Text by Osmose on Sunday July 15, 2012 @12:04PM (#4247213)
That uses the OS file dialog, which is far too slow for my taste, although I've never actually checked to see what kind've shortcuts there are for it.
Re:Some things beginners might not know about Sublime Text by snprbob86 on Sunday July 15, 2012 @12:20PM (#4247260)
On OSX, press / or ~ to get a path text box with tab completion.
Re:Some things beginners might not know about Sublime Text by Hovertruck on Sunday July 15, 2012 @12:37PM (#4247313)
I've always pressed CMD+Shift+G for that. Nice to know there's an easier way.
Re:Some things beginners might not know about Sublime Text by swah on Monday July 16, 2012 @09:02AM (#4250511)
Only when you save...