Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
h0munculus
· 14y ago · 0 comments
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.
Comments
[–]
jskinner
14y ago
By default, the appropriate syntax highlighting will be set on the file the first time it gets saved.
[–]
Hovertruck
14y ago
CMD+Shift+P -> "JS" or "Py" or something sets the syntax highlighting.