Skip to content

Commit eb2b0df

Browse files
committed
Fix should auto trigger at ${|in js/ts template strings
Fixes microsoft#37176
1 parent d74145e commit eb2b0df

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

extensions/javascript/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@
6060
"meta.embedded.expression.js": "javascriptreact"
6161
},
6262
"tokenTypes": {
63-
"entity.name.type.instance.jsdoc": "other"
63+
"entity.name.type.instance.jsdoc": "other",
64+
"entity.name.function.tagged-template.js": "other",
65+
"entity.name.function.tagged-template.js.jsx": "other"
6466
}
6567
},
6668
{
@@ -74,7 +76,9 @@
7476
"meta.embedded.expression.js": "javascript"
7577
},
7678
"tokenTypes": {
77-
"entity.name.type.instance.jsdoc": "other"
79+
"entity.name.type.instance.jsdoc": "other",
80+
"entity.name.function.tagged-template.js": "other",
81+
"entity.name.function.tagged-template.js.jsx": "other"
7882
}
7983
},
8084
{

extensions/typescript-basics/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@
4444
"scopeName": "source.ts",
4545
"path": "./syntaxes/TypeScript.tmLanguage.json",
4646
"tokenTypes": {
47-
"entity.name.type.instance.jsdoc": "other"
47+
"entity.name.type.instance.jsdoc": "other",
48+
"entity.name.function.tagged-template.ts": "other",
49+
"entity.name.function.tagged-template.tsx": "other"
4850
}
4951
},
5052
{
@@ -58,7 +60,9 @@
5860
"meta.embedded.expression.tsx": "typescriptreact"
5961
},
6062
"tokenTypes": {
61-
"entity.name.type.instance.jsdoc": "other"
63+
"entity.name.type.instance.jsdoc": "other",
64+
"entity.name.function.tagged-template.ts": "other",
65+
"entity.name.function.tagged-template.tsx": "other"
6266
}
6367
}
6468
],

0 commit comments

Comments
 (0)