Assist convenient input of Eclipse
Do you know the Assist function(shortcut) of Eclipse?
There is an idea that "reach up to mouse each time" is not efficient, because when you make a program, both hands are on the keyboard.
When I am finding a mistake or when the test, does not necessarily say so, but when I write code, there are some times that I feel troublesome to reach for the mouse.
Assist function is useful for such situation.
You can see the list of features assist, press the Ctrl + Shift + L
You can download a CSV file of all the features of the default list.
We will introduce some Below
Content Assist Ctrl+Space | The ability to display the list of classes and methods that can be used at the cursor position, such as the appearing when you fill in a dots. |
---|---|
Delete row Ctrl+D | Delete the row at the cursor position.(You can also specify a range of multi-line) |
Quick Fix Ctrl+1 | List of how to resolve the error, or etc. at cursor position. |
Rename Alt+Shift+R | You can change the variable name and the name of the class that was determined by yourself. |
Format of the code Ctrl+Shift+F | It fix the code clean, along the grammar JAVA, for example, if you add an IF statement later for multiple lines surrounding, and a group of code that is difficult to read. |
Organize Imports Ctrl+Shift+O | Add or remove the required import statements automatically. |
Quick Outline Ctrl+O | Display a list of methods of the class at the cursor position. |
Go to Matching Backlet Ctrl+Shift+P | By moving in brackets correspond to the brackets of the cursor position, you can search for correspondence. |
In addition, these features, it is also possible to change to suit the people who use.