Make Find Usages compare function signature when showing results

Hello,

Often I find that Find Usages – when clicking on a function – "guesses" the results based on the function name, and shows me all results.

It occurred to me today that this list could be narrowed, by comparing the function signature:


I'm happy to file an issue on the bug tracker is this is deemed appropriate?

0
4 comments

Some of these references are so called dynamic references; we have a request to exclude them from the usages list, please feel free to vote for https://youtrack.jetbrains.com/issue/WEB-45968

0

Ah. Can you clarify what "dynamic references" are in terms of WebStorm functionality?

Are these just "guessed" entities?

0

More or less. When the exact type is not known, usage is resolved by name. For example, the code below the parameter type is not known beforehand:

 

static async someMethod(object){
        await object.create();
    }
0

Thanks Elena,

I've referenced this post and added my vote!

0

Please sign in to leave a comment.