Skip to content

Commit 956db2f

Browse files
feat: delay activation
fix #236
1 parent 4adbdb3 commit 956db2f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@
3232
},
3333
"icon": "media/favicon.png",
3434
"categories": ["Linters", "Programming Languages", "Other"],
35-
"activationEvents": ["onStartupFinished"],
35+
"activationEvents": [
36+
"onView:ast-grep-sidebar-view",
37+
"workspaceContains:**/sgconfig.{yml,yaml}"
38+
],
3639
"contributes": {
3740
"commands": [
3841
{

0 commit comments

Comments
 (0)