Skip to content

incorrect formatting on javascript #13205

Open
@mjbvz

Description

@mjbvz

From @calidion on December 28, 2016 22:5

  • VSCode Version: Code 1.8.1 (ee428b0eead68bf0fb99ab5fdc4439be227b6281, 2016-12-19T14:42:49.304Z)
  • OS Version: Darwin x64 16.3.0
  • Extensions:
Extension Author Version
tslint eg2 0.7.1
code-beautifier michelemelluso 1.6.2
vscode-icons robertohuertasm 4.1.0

Steps to Reproduce:

  1. for code:
return MessageFriend.update({
            id: found.id
          }, 
 {
              processed: true
})

expected:

return MessageFriend.update({
  id: found.id
}, {
  processed: true
});

got:

return MessageFriend.update({
  id: found.id
}, 
  {
    processed: true
  });

Copied from original issue: microsoft/vscode#17887

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