From 7e351391019501489e8b287f11593cdb03cea922 Mon Sep 17 00:00:00 2001 From: Jens Hausdorf <hello@jens-hausdorf.de> Date: Sat, 24 Mar 2018 13:47:21 +0100 Subject: [PATCH] Use activationevents to prevent launching the ext on unrelated workspaces --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0c74d80..04376ba 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,8 @@ "Other" ], "activationEvents": [ - "*" + "onLanguage:css", + "workspaceContains:**/*.css" ], "contributes": { "commands": [