Productive Eclipse Shorcuts

时光总嘲笑我的痴心妄想 提交于 2020-01-07 05:30:32

问题


I currently use a variety of keyboard shortcuts in Eclipse such as:

Ctrl + Shift + R: Open Resources
Ctrl + F6: Switch Files in Editor
Ctrl + Q, ? To switch to desired window
Ctrl + Alt + R: To Restart My server
Ctrl + O: To view an outline of a class
F12: to go to the editor

What are some other productive shortcuts I may not be using?


回答1:


Here are my frequently used hot keys and I do think they improve my productivity very much

Alt+/ to use the code templates that are defined in the Windows→Preferences→Java→Editor→Template

Ctrl + Shift + R to find files of any type.

Ctrl + Shift + O to organize imports and import the missing imports automatically

Ctrl + Click on a variables / functions to go to its declaration

Ctrl + T on a method or class shows the whole inheritance tree, for example all methods which implement an interface.




回答2:


Shift + Ctr + L

This opens the list of keyboard shortcuts ;-)




回答3:


My favorite is quick access: Ctrl+3 and start typing anything you are looking for...



来源:https://stackoverflow.com/questions/6634104/productive-eclipse-shorcuts

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