Skip to content

Commit b486f60

Browse files
committed
perf: enable the extension only with the PHP language
1 parent f388c85 commit b486f60

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.changeset/fast-ants-kiss.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"phpstan-vscode": minor
3+
---
4+
5+
Enable the extension only with the PHP language

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@
138138
}
139139
},
140140
"activationEvents": [
141-
"*"
141+
"onLanguage:php",
142+
"workspaceContains:**/phpstan.neon",
143+
"workspaceContains:**/phpstan.neon.dist"
142144
],
143145
"dependencies": {
144146
"yaml": "^2.1.1"

0 commit comments

Comments
 (0)