ctrl + click not working on webstorm with importing TypeScript modules with baseUrl compilerOptions Follow
The project specifies modules that are in a different directory. WebStrom sees them, but does not allow to go to by ctrl click the exported entities
To the entities that are in my module, by ctrl click the transition works
WebStorm 2020.1
Build #WS-201.6668.106, built on April 6, 2020
Windows 10 10.0
Please sign in to leave a comment.
The IDE reports an error for this module, as far as I can see - the module name in the import statement is red-highlighted. What does the error message look like? Also, the
baseUrl
is normally relative to the folder where the tsconfig.json is located, do you have any special reason for specifying Windows absolute path there?TS6133: 'Memory' is declared but its value is never read.
The gif shows that the ctrl+click does not work on IEntitryGroup and import statement is not red-highlighted
Environment and framework specifics
Also In web storm 2019 version this worked, but I'm not sure if the reason is in the version
could you share a test project the issue can be reproduced with?
>do the entities that are in my module, by ctrl click the transition works
could you clarify what modules are meant? Are the files navigation doesn't work for located in your project, or outside of it?
It is hardly possible
Screenplay on gif 1 doesn't work. Transition on ctrl clicks located outside the project does not work.
Screenplay on gif 2 works
So, the modules navigation doesn't work for are not included in your project, they are located elsewhere? This is the expected behavior then - navigation only works for those modules that are indexed, and only those files that belong to a project are included in index