-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFix AvailableA PR has been opened for this issueA PR has been opened for this issueVS Code PriorityCritical issues that VS Code needs fixed in the current TypeScript milestoneCritical issues that VS Code needs fixed in the current TypeScript milestone
Milestone
Description
From microsoft/vscode#40454 (comment)
TypeScript Version: 2.7.0-dev.20171214
Code
(
<div>
text
</div>
)
Run format
Expected behavior:
(
<div>
text
</div>
)
Actual behavior:
No change. Content remains:
(
<div>
text
</div>
)
The </div>
is de-indented if the body is a tag instead of text:
(
<div>
<span />
</div>
)
mjbvz
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFix AvailableA PR has been opened for this issueA PR has been opened for this issueVS Code PriorityCritical issues that VS Code needs fixed in the current TypeScript milestoneCritical issues that VS Code needs fixed in the current TypeScript milestone