vscode-direnv
vscode-direnv copied to clipboard
Default .envrc file association
If possible, could the extension make it so that the default file association is set to shellscript for .envrc files? Currently I have to use this in my configuration for it to work:
"files.associations": {
".envrc": "shellscript"
},
As .envrc is a shellscript by default, it would be better for everyone if the extension defaulted to this. Not sure if VS Code supports the extension API to do this?
Just found it it should be entirely possible. I suggested a similar solution for ESLint and it's just to add it like this:
https://github.com/microsoft/vscode-eslint/commit/4d8d1469c2d668b9c897c4a262b0717421c1d1f5