You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a similar issue that duplicates import for 'move to file' and I tried to check if this is the same issue. However, the repro that I was trying out does not give me an error. Benjamin Pasero (@bpasero) please help me understand if this is similar to what you were trying out.
This is what I tried:
// @Filename: /a.ts
export const t = 0;
export const t2 = 0;
// @Filename: /b.ts
import { t } from "./a";
const y = t + 1;
const z = t2/**/ + 1;
Used quick fix at /**/ to add import from "./a" and it resulted in import { t, t2 } from "./file1";
Activity
navya9singh commentedon Mar 11, 2024
I'm working on a similar issue that duplicates import for 'move to file' and I tried to check if this is the same issue. However, the repro that I was trying out does not give me an error. Benjamin Pasero (@bpasero) please help me understand if this is similar to what you were trying out.
This is what I tried:
Used quick fix at /**/ to add import from "./a" and it resulted in
import { t, t2 } from "./file1";bpasero commentedon Mar 12, 2024
navya9singh my steps repro in the
vscodesources if you opensrc/vs/platform/files/node/watcher/baseWatcher.tsand do the suggested change there.