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
{{ message }}
Repository navigation
Import fix suggestions are traversing upwards after #21398 #22249
It looks like the change by Andy (Andrewkraft) (@Andy-MS) was to fix #19920, but I am unable to configure paths and/or rootDirs in a way that brings back the old behaviour here.
Restrictions:
I can't change the baseUrl to "./" as we don't want to see src/ prepended to our imports
We need the full path (just without src/) for easy grepping and refactoring
I've tested a revert of d333d88 against current TypeScript master (ec249f7 at the time of writing) and can confirm the old behaviour comes back.
If it's by design, any chance this logic could be tweaked to take into account some combination of "baseUrl": "./src" with paths and/or rootDirs? Or the behaviour made configurable via some other mechanism?
Working with ../../../../... in a large and fast-moving codebase is hard.
changed the title [-]Import fix suggestions are traversing upwards since #21398[/-][+]Import fix suggestions are traversing upwards after #21398[/+]on Mar 1, 2018
Activity
[-]Auto imports are [/-][+]Import fix suggestions are traversing upwards since #21398[/+][-]Import fix suggestions are traversing upwards since #21398[/-][+]Import fix suggestions are traversing upwards after #21398[/+]mhegazy commentedon Mar 1, 2018
Related to #20619
alextreppass commentedon Mar 2, 2018
May also be a duplicate (or just related to) #21860