-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
Domain: LS: Quick Infoe.g. hover text, tool-tips, and tooltips.e.g. hover text, tool-tips, and tooltips.FixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
From microsoft/vscode#54981 (comment)
TypeScript Version: 3.1.0-dev.20180726
Search Terms:
- update imports
- getEditsForFileRename
Code
For a project
index.ts
export const foo = 123foo.ts
import { foo } from './index';- In VScode, Rename
foo.tstobar.ts - Confirm that you want to update import paths
Expected behavior:
No edits returned from getEditsForFileRename
Actual behavior:
An edit is returned that rewrites foo.ts to:
import { foo } from '.';Metadata
Metadata
Assignees
Labels
Domain: LS: Quick Infoe.g. hover text, tool-tips, and tooltips.e.g. hover text, tool-tips, and tooltips.FixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript