简体   繁体   English

有没有办法在类似于较新版本的 Visual Studio 的 netbeans 中查看方法的所有引用

[英]Is there a way to see all the references of a method in netbeans similar to the newer version of visual studio

I was using a fresh installed visual studio when i noticed you can now quickly see the reference above the methods.当我注意到您现在可以快速查看方法上方的参考时,我正在使用全新安装的 Visual Studio。 I was wondering if there is a similar way to do this in netbeans ?我想知道在 netbeans 中是否有类似的方法来做到这一点? Because sometimes when i refactor my code i'm losing a lot of time searching where all the references are .因为有时当我重构我的代码时,我会浪费很多时间来搜索所有引用的位置。

将光标放在任何方法/变量/等上,然后按 [左 Alt]+[F7] 或右键单击它并选择“查找用法”。

Netbeans 11 不支持 js 代码的“查找用法”:(

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 清理所有NetBeans参考 - Clean all NetBeans references 有没有一种简单的方法可以查看 JDK 版本中的所有增强功能? - Is there a simple way to see all the enhancements in a JDK version? 约束在较新版本的 android studio 中无法正常工作 - Constraints not working properly in a newer version of android studio Android Studio中的方法引用 - Method references in Android Studio Android Studio:有没有办法实时查看所有文件? - Android Studio: Is there a way to see all the files executed in real-time? 有没有办法在 NetBeans 调试器中查看程序计数器? - Is there a way to see the program counter in NetBeans debugger? 是否可以在执行时看到所有对 object 的引用? - Is it possible see all the references to an object in execution time? 如果仅在较新的Java版本中定义的本机类/方法怎么办? - What if a native class/method only defined in a newer Java version? 主要版本 53 比 52 更新,这是此编译器支持的最高主要版本。 安卓工作室 - major version 53 is newer than 52, the highest major version supported by this compiler. Android studio 已加载“旧” Android Studio项目-Studio更新后,它将不再打开/编译,要求更新版本吗? - Loaded “old” Android Studio project - after Studio updates it will no longer open/compile asking for even newer version?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM