go to declaration not working

I use the Webstorm 5787.30 on Ubuntu 20.04. When I press hotkey CTRL + B (go to declaration) the IDE shows me multiple redundant declarations. When I press on the one of it the editor navigates to the top.


As far as I can see, you are trying to navigate to environment variable declaration that is not defined anywhere in your code. as a result, the IDE tries to resolve the reference by name only (i.e. suggests same-named objects from the project index) so you can see some irrelevant declarations


Thanks Elena,

In such cases I will neglect those irrelevant declarations resulting from parsing the project index.


Please sign in to leave a comment.