Eclipse Shortcuts
There are many ways to work on a system. But, it is good practice if we know about the shortcuts or I would say keyboard shortcuts to operate on a system.
As being a corporate trainer, I am working on different assignments, work with different sets of people. I came to know that, shortcuts are very valuable and everyone wants to learn about them.
In my current training assignment, working on eclipse. Most of the students are asking about eclipse shortcuts.
Here, I am listing down the shortcuts of eclipse that I am using currently.
Below is the list :
- ctrl+D — to remove a line.
- ctrl+shift+t — to open an already existing resource or APIecli or utility class. e.g. String class, Comparator, Comparable
- ctrl+shift+r — to open any resource file that you have created, or that is there in your workspace
- ctrl+shift+o — to organize your imports in the existing current file.
- ctrl+o — to see the existing list of variables, constants, and methods in the current file.
- ctrl+alt+up arrow, ctrl+alt+down arrow — to make a copy of the existing line on which cursor exists currently.
- ctrl+f — to find/replace in current file
- ctrl+h — to search in the workspace or a specific project depend on configuration.
- alt+up arrow, alt+down arrow — to move the current selection up and down.
- alt+shift+r — to refactor rename. This means the name will be renamed in every reference.
- ctrl+1 — a quick fix. will give you suggestions if there is an error in your file.
There are other shortcuts as well, I will update this list accordingly.
There is a path is to see all the keyboard shortcuts, eclipse has provided. Go to eclipse and follow the below path to know :
See Help > Help Contents > Java Development User Guide > Reference >List of JDT Key Bindings.
Hope you find this article useful.
Comments
Post a Comment