Is it currently possible to associate a given language with a file extension that is not typically associated with that language?
Say I have a filetype *.foo, and I want to associate it with JavaScript for syntax highlighting. Does anyone know if this is currently possible with VSCode?
I am working in a language that is syntactically similar to Visual Basic, and want to associate it with that language type. I understand that you can assign a language after the file is opened, however this is cumbersome to do each time a file is opened.
In Sublime Text for example it is possible to select "Open all with current extension as...". Does this exist yet for VSCode?
EDIT: The Visual Studio Code team has added a proper way to add both themes and languages.
https://code.visualstudio.com/updates#_yo-code-streamlined-customizations-for-vs-code
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…