Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Move to new file causes inconsistent quote style #24605

Copy link
Copy link
@mjbvz

Description

@mjbvz
Issue body actions

From @octref on May 29, 2018 14:51

#50486

My setting:

"typescript.preferences.quoteStyle": "auto"

Have file a.ts:

import { bar } from './b';

function foo() {
  bar()
}

foo()

b.ts:

export function bar() {

}

Run Move to new file on the foo function.

a.ts becomes:

import { foo } from "./foo";



foo()

foo.ts becomes:

import { bar } from './b';
export function foo() {
  bar();
}

The import statements have different quoting style.

Copied from original issue: microsoft/vscode#50680

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.