file - Save in Sublime Text with Another Extension -
in sublime text 2 & 3, whenever save file 1 extension, or without extension, save extension later, syntax colors seem stay first extension. example, when save mean javascript or php file without extension accident, save as
correct extension, text stays black.
is supposed happen? because file isn't saved 2nd extension next time? importantly, there way save file correct extension without creating new file & copying text over?
you can set syntax manually follows.
click html
, see syntaxes, may choose whatever want, or can in command palette
type ctrl+shify+p
, type syntax
, can same thing.
Comments
Post a Comment