Eclipse search everywhere

时光总嘲笑我的痴心妄想 提交于 2020-01-23 01:06:11

问题


There is a search everywhere shortcut in Intellij IDEA(double clicking shift button), I'm wondering if similiar searching can be done in Eclipse. I did some googling, but it seems I can't search files/code at the same time in Eclipse.

Any suggestions are appreciated.


回答1:


No, the search everywhere (source code, databases, actions, elements of the user interface) from IntelliJ is (for Eclipse) split at least between:

  • searches (ctrl+H): you can define a search in files by default.
  • searches in shortcuts (ctrl+l): for dearching the list of key bindings



回答2:


For me, its a combination of:

Cmd+Shift+R : using wildcards like *, for the files Cmd+Shift+M : for methods (also Cmd+O for a quick outline) Cmd+Shift+T : for classes

I prefer keyboard shortcuts rather than the mouse, so these 3 shortcuts helps me a lot




回答3:


Control + 3 - search in all the settings. And my favourite Control + Shift + L (Only in Spring Source Tool Suite) - it's like Google for your source code. Is somehow similar to Symbol/ctag search in Intellij but it finds ALL occurences.

Both are very old features.



来源:https://stackoverflow.com/questions/25831703/eclipse-search-everywhere

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!