-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterDomain: LS: TSServerIssues related to the TSServerIssues related to the TSServerVisual StudioIntegration with Visual StudioIntegration with Visual Studio
Description
TypeScript Version:
typescript@3.3.0-dev.20181130
Search Terms:
formatting whitespace
Expected behavior:
Format on Enter previously removed extra whitespace inserted after the indentation on the empty line below var bar;. Caret represents the termination of whitespace on the previous line.
function foo()
{
var bar;
^
}
Actual behavior:
Format on Enter no longer removes extra whitespace.
function foo()
{
var bar;
^
}
Similar behavior is observed for non-empty lines.
Expected:
var foo;
^
Actual:
var foo;
^
Related Issues:
Introduced by #27978
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 formatterDomain: LS: TSServerIssues related to the TSServerIssues related to the TSServerVisual StudioIntegration with Visual StudioIntegration with Visual Studio