Skip to content

Tags,Braces,Brackets not auto-closing when inside of quotes. #25314

@romans127

Description

@romans127
  • VSCode Version: Code 1.11.2 (6eaebe3b9c70406d67c97779468c324a7a95db0e, 2017-04-13T08:03:11.395Z)
  • OS Version: Windows_NT ia32 6.1.7601
  • CPUs: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz (4 x 3092)
  • Memory (System): 15.89GB (4.37GB free)
  • Memory (Process): 123.36MB working set (123.36MB peak, 98.86MB private, 36.91MB shared)
  • Load (avg): 0, 0, 0
  • VM: 0%
  • Initial Startup: no
  • Screen Reader: no
  • Empty Workspace: no
  • Timings:
Component Task Time (ms)
renderer window.loadUrl() => begin to require(workbench.main.js) 199
renderer require(workbench.main.js) 787
renderer create extension host => extensions onReady() 818
renderer restore viewlet 1285
renderer restore editor view state 847
renderer overall workbench load 1526
main + renderer start => extensions ready 1860
main + renderer start => workbench ready 2532

Additional Steps to Reproduce (if any):

  1. Create a pair of quotes single or double, i.e. an attribute.
  2. Attempt to write a pair of brackets or braces, most commonly handlebars, or mustache templates.
  3. When inside the quotes the matching end does not auto complete.

Example :

<div data-some-value='{ "someKey" : "{{ someValue }}" } '>

This part does not autocomplete when I type the opening {{ }} I have to manually type }} and sometimes this can be misleading as other {{ }} pairs are auto closed, so one of two things happen.

  1. I either end up typing an extra }}}} anticipating it not closing or if I depend on vscode to autocomplete it I end up missing the }}

Metadata

Metadata

Assignees

Labels

editor-autoclosingEditor automatic closing of parens / brackets / etc.feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions