Closed
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.