Last active
June 1, 2024 22:37
-
-
Save ThatGuySam/be43a5f33e64e61ffde86cff46d2d093 to your computer and use it in GitHub Desktop.
Disable GitHub Copilot on dotenv files in VS Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
... | |
"files.associations": { | |
".env*": "dotenv", | |
".env.development": "dotenv", | |
".env.local": "dotenv", | |
".env.production": "dotenv" | |
}, | |
"github.copilot.enable": { | |
"*": true, | |
"dotenv": false, | |
}, | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally found here:
https://stackoverflow.com/a/77908836/1397641
Also, if this disables color formatting for .env files you restore it with this extension:
https://marketplace.visualstudio.com/items?itemName=mikestead.dotenv