-
Notifications
You must be signed in to change notification settings - Fork 37.2k
Closed
Labels
grammarSyntax highlighting grammarSyntax highlighting grammarjavascriptJavaScript support issuesJavaScript support issuestypescriptTypescript support issuesTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)
Description
- VSCode Version: 1.23-0-insider
- OS Version: macOS
Steps to Reproduce:
- Enter the following code in a .ts file:
const example = () => (
{example: "`x=y`"} // everything after this line is highlighted like a string
)
const brokenHighlighting = trueInterestingly, the same issue occurs with:
const example = () => (
{example: `x=y`} // everything after this line is highlighted like a string
)
const brokenHighlighting = trueBut it does not occur when the preceding bracket ( is on the same line as {:
const example = () => ({
example: "`x=y`"
})Does this issue occur when all extensions are disabled?: Yes
This does not occur in latest stable v1.22.2, so this is a regression.
Metadata
Metadata
Assignees
Labels
grammarSyntax highlighting grammarSyntax highlighting grammarjavascriptJavaScript support issuesJavaScript support issuestypescriptTypescript support issuesTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)
