Y
Hacker News
new
|
ask
|
show
|
jobs
by
h0munculus
5082 days ago
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.
2 comments
jskinner
5082 days ago
By default, the appropriate syntax highlighting will be set on the file the first time it gets saved.
link
Hovertruck
5082 days ago
CMD+Shift+P -> "JS" or "Py" or something sets the syntax highlighting.
link