If I define a class like:
export class MyTestClass {
public toggle() { // *
return true;
}
}
// * I changes the value to `toggle`,
// because this name is used often in libs,
// so the described behaviour might be easier to reproduce.
What I do
select testMethod
and click on Edit | Find | Find Usages
.
Expected behaviour
All occurrences of MyTestClass.testMethod
are listed in the result set
Actual behaviour
All occurrences of testMethod
are listed, even ones NOT related to MyTestClass
.
My question Is there a way to tell WebStorm to only show class related method usages?
The issue looks similar to WEB-35855, please follow it for updates