如果我定义一个类:
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.
我做的事情
选择testMethod
并单击Edit | Find | Find Usages
。
预期行为所有出现的MyTestClass.testMethod
都列在结果集中
实际行为的所有事件testMethod
都列出来,甚至是那些不相关的MyTestClass
。
我的问题有没有办法告诉WebStorm只显示与类相关的方法用法?
该问题与WEB-35855类似,请关注更新
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句