I have recently installed a new version of WebStorm (2024.3.4). I am working on a mono repo in which each package is linked through the node_modules folder. Previously (WebStorm version 2024.1.4), I was able to use the option Go to > Declaration or Usages
(Ctrl+B) in the editor, and I would be redirected to the correct piece of code. In the latest version I am redirected to the index.mjs
file in the node_modules
folder.
This is very annoying behavior, and might be a reason for me to switch to another IDE. If anybody knows how to restore the previous behavior I would be very grateful.
I have checked all my settings, there are no differences between both versions except for any new settings. I am working with TypeScript, Svelte, and SvelteKit. There are no differences in any of the config files.
I have tried exporting and importing the WebStorm settings.
I would have expected WebStorm to automatically exclude node_modules in favor of the code in the packages in the mono-repo.