From bf97ddc7eb1f8d71d4653f5db03bd101d3d29515 Mon Sep 17 00:00:00 2001 From: Christoph Thiede Date: Mon, 4 Oct 2021 20:03:05 +0000 Subject: [PATCH 1/2] Improve language detection There is a large number of dotenv files out there that do not actually use a dot in their name. Here is a small comparative study: - `env`: 2.8k - `*.env`: | 29.1k - `?*env`: 12.5k - `env_*`: 635 For more information on the study, see: https://github.com/squeak-smalltalk/squeak-app/pull/22#discussion_r721667361 --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index c7f4deb..5abdb73 100644 --- a/package.json +++ b/package.json @@ -65,6 +65,12 @@ ".env.prod", ".env.prod.local" ], + "filenamePatterns": [ + "?*env" + ], + "filenames": [ + "env" + ], "configuration": "./language-configuration.json" } ], From 9e0e2334d0ba5950ffcdbe85d06430ef11e95eed Mon Sep 17 00:00:00 2001 From: Christoph Thiede Date: Mon, 4 Oct 2021 20:03:39 +0000 Subject: [PATCH 2/2] Update extension category according to deprecation warning generated by VS Code --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5abdb73..0cfc1fc 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "vscode": "^1.5.1" }, "categories": [ - "Languages" + "Programming Languages" ], "keywords": [ "env",