Skip to content

New option to remove spaces around braces: insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces #9613

Open
@dbaeumer

Description

@dbaeumer

From @aymone on July 8, 2016 17:59

  • VSCode Version: 1.3
  • OS Version: Ubuntu 16.04
  • Language: JS

Steps to Reproduce:

1.Create a simple object with functions shorthand like:

const x = {
    a(){}
};

2.Use VSCode auto format (ctrl+shift+i):

const x = {
    a(){ } // why vscode add this extra space between braces?
};

Any way to disable this?

Copied from original issue: microsoft/vscode#8965

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterHelp WantedYou can do thisVS 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