Duplicated declarations

Hello everyone,

Today I got my first issue with WebStorm. I noticed, that clicking CMD + LMB on component don't open it anymore. Instead of that, it open a popup to choose declaration. Inside this popup I have same component twice. Opening first one or second one open exactly same file. I tried to clear cache but it didn't help. Someone know how to fix that? It's really annoying.

This issue was also present in PhpStorm:

Ticket created in 2015 to fix this issue and closed due to any response from reporter


1 comment

the problem mentioned in https://intellij-support.jetbrains.com/hc/en-us/community/posts/360001515320-PHPStorm-choose-declaration-duplicates-unspecified-file-location looks different, the user did have the same-named component declared in 2 files (in 2 repos)
Unfortunately the problem is not reproducible on our end. Do you have a sample project you can share that reproduces the issue?

Please sign in to leave a comment.