Skip to content

Formatter dedents pasted union #17108

Closed
Closed

Description

TypeScript Version: nightly (2.5.0-dev.20170707)

Code

type T =
    | number
    | string;

Run "Format Document" and there is no change.
Cut this and paste it back, and it will be dedented to:

type T =
| number
| string;

Activity

  1. ghost added
    Domain: Formatter
    on Jul 11, 2017
  2. added
    External
    and removed
    Domain: Formatter
    on Nov 20, 2017
  3. mhegazy commented on Nov 20, 2017

    @mhegazy
    Contributor

    The cut+past issue seems to be VSCode specific. Matt Bierner (@mjbvz) do you have any insights here?

  4. mjbvz commented on Nov 21, 2017

    @mjbvz
    Contributor

    This issue was moved to microsoft/vscode#38833

  5. locked and limited conversation to collaborators on Jun 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    External

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions