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.set syntax

click html , see syntaxes, may choose whatever want, or can in command palette type ctrl+shify+p , type syntax , can same thing.


Comments

Popular posts from this blog

What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project? -

Change the color of an oval at click in Java AWT -