Import module specifier: "shortest" doesn't pre-select the shortest (typescript) #42235
Labels
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
Steps to Reproduce:
import { BasicDTO } from "@repro-short-import/data";
BasicDTO
from shared lib with ctrl+space.import { BasicDTO } from 'libs/data/src/lib/data';
It is not due to the string length cause I got other repos where lib name is shorter than
@repro-short-import/data
;Does this issue occur when all extensions are disabled?: Yes
I'm using the insider version for every day coding and I downloaded the last clean and fresh vscode classic version to test this. These errors are occurring on both.
Using other type of import module specifier will eventually solve this issue but will cause some others => always use absolute path even for file which should be relatively imported.
The text was updated successfully, but these errors were encountered: