-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: LS: Refactoringse.g. extract to constant or function, rename symbole.g. extract to constant or function, rename symbolFixedA PR has been merged for this issueA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue
Milestone
Description
From @dbaeumer on August 30, 2017 8:35
Testing: #33282
function foo() {
console.log('Hello World');
}- observe: console.log is indented using tabs
- select
console.log('Hello World'); - run extract function
- you get
function foo() {
newFunction();
}
function newFunction() {
console.log('Hello World');
}Observe: spaces are used as indentation.
Copied from original issue: microsoft/vscode#33492
jwbay, micnic and ambroselittle
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: LS: Refactoringse.g. extract to constant or function, rename symbole.g. extract to constant or function, rename symbolFixedA PR has been merged for this issueA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue