Frequently used shortcut key use collection
1. Ctrl+d: Set up copy and paste two operations, if there is a selected part of the copy of the selected section, and after the selection of paste out, if there is no selected part, copy the line of the cursor, and paste it under the line.
2.CTRL+ALT+L: Format code (Eclipse ctrl+shift+f)
3.alt+enter: Import package, auto fix
4.ctrl+n: Quick Open Class (Eclipse ctrl+shift+r)
5.ctrl+space: Code Intelligence Tips (Eclipse alt+/)
6.ctrl+alt+s: Setting the interface
7.ctrl+shift+alt+s: Project Construction
8.CTRL+J: Automatic code completion (SOUT-->SYSTEM.OUT.PRINTLN)
9.ctrl+/, ctrl+shift+/: Notes
10.ctrl+o: When a subclass wants to override a method of a parent class, press this key combination to display the methods of all the parent classes.
11.alt+insert: Generate code (such as Get,set method, constructor, etc.)
12.ctrl+alt+o: Optimizing Imported Packages
key combination Use cases ①. Full shortcut key complete Findviewbyid
②. Shortcut keys quickly generate JavaBean
Androidstudio shortcut keys Use