-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
Global operations are currently only done on the first project for a file, namely:
- rename
- find all references
- navigate to
For instance if you have three files (a.ts, b.ts, and c.ts) open in the editor, listed below, we create three projects, Project 1 (a.ts), Project 2 (a.ts, b.ts), Project 3 (a.ts, c.ts).
a.ts
var x;
b.ts
/// <reference path="a.ts" />
x ++;
c.ts
/// <reference path="a.ts" />
x = x + 2;
Calling rename on x, in a,ts will only rename it in a.ts and not in b.ts or c.ts as well. if renaming in b.ts it will not rename in c.ts, and vice versa.
Metadata
Metadata
Assignees
Labels
APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do thisSuggestionAn idea for TypeScriptAn idea for TypeScript