Skip to content

[VS2013/VS2015] Closing tag is indented incorrectly after 'format document' operation #4568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vladima opened this issue Aug 31, 2015 · 2 comments
Labels
Bug A bug in TypeScript Domain: Formatter The issue relates to the built-in formatter Fixed A PR has been merged for this issue Help Wanted You can do this

Comments

@vladima
Copy link
Contributor

vladima commented Aug 31, 2015

  • create a new .tsx file with content
<div>
</div>
  • select all -> format document

Expected: formatting stays the same
Actual: closing tag is indented

formatclosingtag

@saschanaz
Copy link
Contributor

#4398 should fix this.

@mhegazy mhegazy added the Help Wanted You can do this label Sep 18, 2015
@mhegazy mhegazy added this to the Community milestone Sep 18, 2015
@DanielRosenwasser DanielRosenwasser added the Domain: Formatter The issue relates to the built-in formatter label Dec 30, 2015
@DanielRosenwasser
Copy link
Member

Fixed by #4398. Thanks @saschanaz!

@DanielRosenwasser DanielRosenwasser added the Fixed A PR has been merged for this issue label Dec 30, 2015
@mhegazy mhegazy modified the milestones: TypeScript 1.8, Community Jan 4, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Domain: Formatter The issue relates to the built-in formatter Fixed A PR has been merged for this issue Help Wanted You can do this
Projects
None yet
Development

No branches or pull requests

4 participants