Skip to content

Auto close curly brackets for placeholders in template literals JS/TS #124270

@haoadoreorange

Description

@haoadoreorange

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.56.2
  • OS Version: Ubuntu 20.04
let str = `a$|b`;
Type { where the cursor is.
No closing bracket

A similar one was mentionned as fixed in #47244
Auto-close works for a${ b or ${ but not when in between an existing string with no space..

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugeditor-autoclosingEditor automatic closing of parens / brackets / etc.javascriptJavaScript support issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions