Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
h0munculus
13y ago
0 comments
Share
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.
undefined | Better HN
0 comments
default
newest
oldest
jskinner
13y ago
By default, the appropriate syntax highlighting will be set on the file the first time it gets saved.
Hovertruck
13y ago
CMD+Shift+P -> "JS" or "Py" or something sets the syntax highlighting.
j
/
k
navigate · click thread line to collapse