How to associate a file extension with a certain language in VS Code
Update Please note that JoelAZ’s answer is much easier and results in the same setting changes! The answer below is still valid, just more steps & more fuss. Old answer In Visual Studio Code, you can add persistent file associations for language highlighting to your settings.json file like this: // settings.json // Place your settings … Read more