Does anyone know is it possible to set file associations in vscode?
I'm working with .pt files which contain html and was looking to set the editor, so that when it opens these files it automatically set the type to html.
Currently changing a mode is not persisted on a file. For the future we will look into an option to allow the user to associate file extensions to modes and persist this setting.
Update for our VS Code 1.0 release:
You can now persist a file to language association in settings. The newly introduced files.associations
setting can be used like this:
files.associations: {
"*.php4": "php",
"*.php3": "php"
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With