TypeScript Version: 2.9.1-dev.20180521
Search Terms:
Code
-
In VS Code, configure "typescript.preferences.quoteStyle": "single"
-
For a ts file:
class Foo { }
console.log(new Foo())
- Run
move to new file on Foo
Expected behavior:
Created import uses single quotes:
import { Foo } from './Foo';
console.log(new Foo())
Actual behavior:
Added import uses double quotes:
import { Foo } from "./Foo";
console.log(new Foo())
I confirmed that we do configure the quoteStyle before requesting the refactorings
TypeScript Version: 2.9.1-dev.20180521
Search Terms:
Code
In VS Code, configure
"typescript.preferences.quoteStyle": "single"For a ts file:
move to new fileonFooExpected behavior:
Created import uses single quotes:
Actual behavior:
Added import uses double quotes:
I confirmed that we do configure the
quoteStylebefore requesting the refactorings