-
Notifications
You must be signed in to change notification settings - Fork 31k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[themes] improvements expressions in template string #13166
Comments
Would it be too hard to make |
Yes, didn't |
Reopening to fix the coloring of the interpolation |
@gertcuykens Yes, please file a separate request. Please include the full code snippet that shows the issue. Please also for what language the code snippet is. |
I looked around a bit better and found many other tickets scattered around asking for it :) I think this is the main one #2000 |
@Tsmith18256 Please file a new issue? You can file directly against https://github.com/Microsoft/TypeScript-TmLanguage. Thanks a lot! |
I've filed a new issue: microsoft/TypeScript-TmLanguage#368 |
@aeschli: @sheetalkamat says this is a vscode issue. Could you re-open this? |
@aeschli possible to create a setting to allow auto closing the } bracket and place the cursor inside? Like the editor does for functions. This is not a bug. Just a question.
|
@lidderupk Inside strings we currently don't auto close brackets. Please file a new enhancement request with details against https://github.com/Microsoft/vscode/issues. |
Used latest vscode extension from https://marketplace.visualstudio.com/items?itemName=ms-vscode.typescript-javascript-grammar
This can also be found when using extension https://marketplace.visualstudio.com/items?itemName=ms-vscode.js-atom-grammar
From @mhegazy at microsoft/TypeScript-TmLanguage#287

see
number
belowThe expression is tokenized as
meta.template.expression
but theme doesn't use this information to colorize it correctly. Also note thatnumber
in the expression is scoped asvariable.other.readwrite
.Probably
${
and}
could be colored blue by using their scopespunctuation.definition.template-expression.begin
andpunctuation.definition.template-expression.end
The text was updated successfully, but these errors were encountered: