5 ms·
I normally do Cmd+N (Create an empty file) Cmd+S (save it). Isn't this sort of the same?
by fserb 14y ago
I normally do Cmd+N (Create an empty file) Cmd+S (save it). Isn't this sort of the same?
- Osmose 14y agoThat 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.
- snprbob86 14y agoOn OSX, press / or ~ to get a path text box with tab completion.
- Hovertruck 14y agoI've always pressed CMD+Shift+G for that. Nice to know there's an easier way.
- swah 14y agoOnly when you save...
- h0munculus 14y agoBut 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.
- Hovertruck 14y agoCMD+Shift+P -> "JS" or "Py" or something sets the syntax highlighting.
- jskinner 14y agoBy default, the appropriate syntax highlighting will be set on the file the first time it gets saved.