Skip to content

Commit d5fe272

Browse files
authored
Fix: .env(.template) syntactic coloring and no Copilot access (#877)
## Description ### Summary <!--Brief description of what this PR does.--> Use the `properties` language (it's the built-in name for the "language" used in `.env` files). - Copilot will still be unable to access it (from this perspective, its just a variable renaming) - Syntax highlighting added for `.env` (back) and `.env.template` (new) ## Type of Change - [x] 🐛 Bug fix (non-breaking change which fixes an issue) - [ ] ✨ New feature (non-breaking change which adds functionality) - [ ] 🔨 Refactor (non-breaking change that neither fixes a bug nor adds a feature) - [ ] 🔧 Infra CI/CD (changes to configs of workflows) - [ ] 💥 BREAKING CHANGE (fix or feature that require a new minimal version of the front-end) ## Impact & Scope - [ ] Core functionality changes - [ ] Single module changes - [ ] Multiple modules changes - [ ] Database migrations required - [x] Other ## Testing - [x] Added/modified tests that pass the CI - [ ] Tested in a pre-prod - [x] Tested this locally ## Documentation - [ ] Updated docs accordingly (docs.myecl.fr) : <!--[Docs#0 - Title](https://github.com/aeecleclair/myecl-documentation/pull/0)--> - [ ] Code includes docstrings - [ ] No documentation needed
1 parent db813e9 commit d5fe272

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.vscode/settings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
// We don't want Copilot to be active
2525
// on config.yaml and dotenv files
2626
"yaml": false,
27-
"dotenv": false
27+
"properties": false
2828
},
2929
"files.associations": {
30-
".env": "dotenv",
31-
".env.template": "dotenv"
30+
".env": "properties",
31+
".env.template": "properties"
3232
}
3333
}

0 commit comments

Comments
 (0)