0
Sublime text setting HTML as JavaScript
I mainly use Sublime text to code, but the other day I clicked on the button next to "Tab Size" on the bottom right of the application, just to see all the languages.... Now it reads all my .html files as .js files and i have to change it back each time i decide to code html with sublime text (note: .htm extension was not affected, but i just prefer using .html instead)
2 odpowiedzi
0
Somewhere in the bottom corner of the sublime text is showing which language is set in the file, in your case, look for where JavaScript is written in the bottom corner of the program inside your file and click it to reconfigure it to HTML again.
0
Yeah, but I need to do that every time I open an .html file in Sublime Text, I tried reinstalling it, but it kept the setting as well :(
I want it to be the way it was before