Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.87.0-insider (Universal)
- OS Version: macOS 14.3.1
Steps to Reproduce:
- Create files
utils.ts and program.ts
- Create and export any function inside
utils.ts.
- Import this function from
program.ts.
- Move the function into
program.ts using the Refactor -> Mote to file action.
Expected result:
The function should be excluded from the import in program.ts.
Actual result:
The import statement for the function remains present, and the import destination changes from utils to program (which would not work).
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
utils.tsandprogram.tsutils.ts.program.ts.program.tsusing theRefactor->Mote to fileaction.Expected result:
The function should be excluded from the import in
program.ts.Actual result:
The import statement for the function remains present, and the import destination changes from
utilstoprogram(which would not work).