开发者

does netbeans or eclipse have any navigation plugins?

Does either 开发者_C百科netbeans or eclipse have any plugins where you can quickly navigate the project?

I want something like intelliJ's navigation options, like where you just presss control-N and simply type the filename you want to jump to, or class name.


In Eclipse, Ctrl+Shift+T is search by type. Ctrl+Shift+R is find by file.

Consider reading these questions as well, keyboard shortcuts in eclipse and hidden featuers of eclipse


It varies slightly depending on which version of NB you're running. In NB 6.8 there are these bindings (among others):

  • Alt+Shift+O - Go To File (prompt for file name)

  • Ctrl+O - Go To Type (under the cursor)

  • CtrlAlt+Shift+O - Go To Symbol (prompt for symbol name)

  • CtrlShift+B - Go To Declaration (of symbol under cursor)

  • Ctrl+B - Go To Source (of method under cursor)

  • CtrlShift+P - Go To Super implementation (of method under cursor)


In addition to the open type and open resources dialogs already mentioned by basszero, I find quick access (Ctrl+3) very useful: it's just like the above, but for all other Eclipse elements (views, editors, preferences, menu items, etc.).


If you want to take your navigational skills to the next level, check out nWire (for Java/PHP). It is an innovative tool which presents all your code associations in one dynamic view. It's like having all the above mentioned tools in one place, and much more.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜