Skip to content

Commit da1acba

Browse files
Keen Yee Liaukyliau
authored andcommitted
fix: show Go to component in HTML files only
Go to component should not be shown in TypeScript files.
1 parent d1c9a25 commit da1acba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
}
3636
],
3737
"menus": {
38+
"commandPalette": [
39+
{
40+
"command": "angular.goToComponentWithTemplateFile",
41+
"when": "editorLangId == html"
42+
}
43+
],
3844
"editor/context": [
3945
{
4046
"when": "resourceLangId == html || resourceLangId == typescript",

0 commit comments

Comments
 (0)