vscode
vscode copied to clipboard
Changing files.associations setting has no effect
- VSCode Version: 1.1.0
- OS Version: Win7 SP1
Steps to Reproduce:
- Add an entry to files.associations in the user's settings.json file, for example:
"files.associations": {
"*.bat": "Python"
}
- Close and re-open VSCode
- Open a .bat file
- Observe that the detected language (bottom right) is Batch, not Python
Try:
"files.associations": {
"*.bat": "python"
}
VSCode 1.4.0 in Fedora 24. Please reopen the issue?
"files.associations": {
"*.xml": "lua"
}
Language is still set to XML instead of Lua after restarting VSCode and re-opening file. Rename attached file to test.xml instead of test.txt. test.txt
That I cannot reproduce:

@fiendish
Just jumping in to say I had this issue as well, and mine turned out to be a local settings file in a project-level .vscode directory that was overriding my user-specific settings. Hope that helps!