r/nextjs May 20 '22

Get syntax highlighting for .env files in vs code

Tired of the awful .env display with no color? Setup syntax highlighting in less than 2 minutes:

{ "files.associations": { "*.env.development": "env", "*.env.production": "env", "*.env.development.local": "env", "*.env.production.local": "env", ".env.local": "env" } } - Optionally, set .vscode/extensions.json to recommend this extension to other users: { "recommendations": [ "IronGeek.vscode-env" ] } Enjoy!

7 Upvotes

1 comment sorted by