Skip to content

insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets not adding space before closing bracket. #20456

Closed
@mjbvz

Description

@mjbvz

From @charlieprynn on December 4, 2017 16:53

  • VSCode Version: 1.18.1
  • OS Version: macOS 10.12.6

Steps to Reproduce:

  1. Set javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets to true
  2. Auto indent [{ name: 'Main' }]
  3. It becomes [ { name: 'Main' }] instead of [ { name: 'Main' } ]

Reproduces without extensions: Yes

Copied from original issue: microsoft/vscode#39571

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterFixedA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions