ctrl + click not working on webstorm with importing TypeScript modules with baseUrl compilerOptions

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

5 comments
Comment actions Permalink

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

1
Comment actions Permalink

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?

0
Comment actions Permalink

What does the error message look like?

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

do you have any special reason for specifying Windows absolute path there?

Environment and framework specifics

Also In web storm 2019 version this worked, but I'm not sure if the reason is in the version

0
Comment actions Permalink

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?

0
Comment actions Permalink

could you share a test project the issue can be reproduced with?

It is hardly possible

could you clarify what modules are meant? Are the files navigation doesn't work for located in your project, or outside of it?

Screenplay on gif 1 doesn't work. Transition on ctrl clicks located outside the project does not work.

Screenplay on gif 2 works

 

0

Please sign in to leave a comment.