Several common conveniencesCodeThe function is as follows:
1. Introduce the classes used
Select the class in the code, and then use Alt + Shift + F.
2. format the code
Select the code to be formatted, and then use Ctrl + Shift + F.
3. Generate the getter and setter methods for member variables
Right-click the member variable and choose refactor --> encapsulate fields from the context menu. Select the setter method and getter method to be added on the pop-up interface, and click Next. On the confirmation page that appears, you can select do refactoring to add the setter method and getter method.
4. Modify the file name
Use Alt + Shift + R.
5. Create a project
Use Ctrl + Shift + N.
6. Create a file
Use Ctrl + N.
7. Open the project
Use Ctrl + Shift + O.
8. Open a file
Use Ctrl + O.
9. Search
Use Ctrl + F. If you want to search for and select, you can use Ctrl + F3. If you want to find the next one, you can use F3. To find the last one, you can use Shift + F3.
10. Replacement
Use Ctrl + H.
11. Search
Use Ctrl + Shift + P.
12. Edit
Copy: Ctrl + c
Cut: Ctrl + x
Paste: Ctrl + V
These are common and some are not.