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

c# - Unity IoC Lifetime per HttpRequest for UserStore -

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

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -