问题标签 [code-navigation]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c++ - 用于导航 C++ 代码库的 Vim 模块?
除了 ctags / cscope,
什么是用于导航 C++ 代码库的好 vim 插件?
理想情况下,当我的光标位于变量名上时,我希望能够知道:
这个变量的类是什么,我可以在这个变量上调用什么函数,跳转到这个变量的类......并跨多个命名空间执行此操作。
你建议什么工具?
visual-studio - Visual Studio - easy way to bring up type definition as source code
Oftentimes I want to bring up a system class in a source view, so that I can browse the properties and methods exposed by the class. Below is the screenshot of what I mean:
Srting from metadata http://img443.imageshack.us/img443/940/stringfrommetadata.png
Usually I do this by selecting the class name and pressing F12 (or right click>Go To Definition). However, if I haven't got it anywhere ready, i have type it up and then do Go To Definition. Most of the time I have to delete what I typed later on.
Is there a way to bring up this view without having to type the class name? The VS2010 Navigate To dialog doesn't support this.
EDIT: When I posted the question I didn't use any Visual Studio plugins. Now that I realised that I have full CodeRush license (thanks to StackOverflow promotion for users with 10K rep) I will accept answers that use CodeRush or Refactor!.
EDIT: At this stage I haven't really got anywhere with trying to answer this question. I am going to leave it open and let the bounty auto-award itself to Rory as he explained what's happening the best. In the meantime(schedule allowing) I will investigate doing this with DXCore as I think it should be possible.
vim - 如何在 VIM 标签搜索和导航中前进?
Ctrl + ] 是跳转到定义。Ctrl + T 是返回。Ctrl + T 的反义词是什么?
javascript - Vim : 在代码中移动
我希望能够使用 Vim 跨函数导航光标。主要是,我想要一个命令让我进入下一个功能,比如}
让我进入下一段。我找到了这个:
不幸的是,它在 JavaScript 中似乎不能正常工作。另外,我相信它也不适用于 Python,因为 Python 不太依赖 { 和 }。
有什么帮助吗?
java - Eclipse 中的代码导航
我发现很难浏览涉及许多类、XML 文件、SQL 文件等的大型项目的代码。
我知道Shift- Ctrl-R打开资源,但这就是我的小知识结束的地方。如何仅使用键盘轻松浏览 Eclipse 中的大量 Java 和非 Java 文件。我想,你们中的大多数专家已经有了一个最喜欢的代码导航快捷方式/提示列表。
请分享。
谢谢!
eclipse - 无法导航到eclipse中的代码
所有,我已经将 jbpm 的源代码作为 Eclipse 中的项目导入。早些时候,我可以通过按住类名上的 Ctrl 键并单击它来浏览代码...
我最近不得不重新构建我的代码库,并且不得不将 jbpm4 代码库重新导入为一个项目......
奇怪的是导航不再起作用,有什么建议我可能会错过吗?
cursor - PhpStorm 将插入符号移动到下一个空白行
我习惯了Ctrl DOWN
许多编辑器中的键盘快捷键,它将插入符号(光标)跳转到代码中的下一个空白行。这允许快速导航代码。
也许我完全错过了它,但是“将插入符号移动到下一个空白行”或类似的操作不在编辑器的 Keymap 列表中。
你知道是否有这样的选项,如果没有,你能推荐一种导航代码的好方法吗?当我移动代码并且简单的向上翻页和向下翻页太粗糙时,“将插入符号移动到代码块开始”对我来说不是很直观。
编辑:正如@CrazyCoder 所说,此功能似乎不可用。我在 YouTrack 上为它添加了一张票。如果您也对此功能感兴趣,请投票。
php - “转到声明”在 Netbeans PHP 中不起作用
Ctrl当我调用+ B,转到声明,Ctrl+单击时,IDE 未加载我定义的某些类。
我正在使用 Windows 7、NetBeans、PHP 7.0.1
我的课程定义在<project-root>/foloder00/folder01/folder02/MyClass.php
我打电话MyClass
<project-root>/index.php
你知道问题是什么吗?和解决方法?
delphi - Delphi 2010 中 $IFDEF 块内的代码导航中断
我的应用程序中有一些条件编译的类。
该选项 SOME_OPTION 在“项目选项”-“Delphi 编译器”-“条件定义”和“项目选项”-“资源编译器”-“目录和条件”-“定义预处理器符号”中定义。
当我尝试 Ctrl+Click 他们的方法时,没有任何反应,代码导航不想工作。
我使用的是 Delphi 2010。我该如何解决这个问题?
resharper - ReSharper 6:转到派生符号 - 如何包含库类型?
我记得在 R# 5 中,当您点击 alt-end(转到继承者)时,有一个包含库类型的继承者列表。当前解决方案中的类型是粗体的。
在版本 6 中,我无法在库中看到派生类型,也找不到启用此功能的选项。可能吗?