• Development environment: Windows 7
  1. bookmarks
  • Description: add a line of code as a bookmark mark, easy to find the jump later
  • Shortcut keys: Add/Remove Bookmarks –> F11 Add/Remove bookmarks –> Ctrl + F11 Show all Bookmarks –> Shift + F11
  • Screenshots:
  1. Compare the clipboard content
  • Description: Compares the currently selected section with the contents on the clipboard.
  • Action: Right-click the selected part and choose “Compare With Clipboard” from the right-click menu.
  • Screenshots:

  1. Quick view of definitions
  • Description: a form pops up to show the detailed implementation of the method without jumping to another page
  • Shortcut key: Ctrl + Shift + I
  • Screenshots:
  1. View recently accessed files
  • Description: View a searchable list of recently accessed files
  • Shortcut key: Ctrl + E
  • Screenshots:
  1. Delete rows
  • Description: Deletes the current row
  • Shortcut key: Ctrl + Y
  1. Copy the line
  • Description: Copies the current line to the next line
  • Shortcut key: Ctrl + D
  1. Writing regular expressions
  • Description: Provides regular validation tests
  • Action: Alt + Home select Check RegExp
  • Screenshots:
  1. Extraction method
  • Description: Extract a block of code to generate a new method.
  • Shortcut keys: Ctrl + Alt + M
  1. rename
  • Description: Rename class name field name etc
  • Shortcut key: Shift + F6
  1. Move rows up and down
  • Description: Move the line up and down
  • Shortcut keys: Ctrl + Shift + ↑/↓
  1. Code hinting
  • Description: Prompt code
  • Shortcut keys: Ctrl + Alt + Space

Change the default shortcut key Change the code prompt shortcut key to Ctrl + Space: Input method By default, Ctrl + Space is used to change the input method. First, remove the shortcut key of the input method, and then set KeyMap

  • Remove input method shortcut key method: Taskbar input method right click Settings –> click advanced key Settings –> Select Ctrl + Space shortcut key –> click Change change key order –> Cancel start key order –> click OK –> Log off/restart the computer to achieve the effect
  • Screenshots:

  • To change the KeyMap method: click Android Studio menu bar Settings – select KeyMap – type Basic in the search bar – change the circled shortcut to Ctrl + Space – click OK

  1. View class inheritance relationships
  • Description: View the class inheritance relationship
  • Shortcut key: Ctrl+H
  • Action: Select the class, press Ctrl+H
  • Screenshots:
  1. View the upper level implementation of the overridden method
  • Description: View the upper implementation of the overridden method
  • Shortcut key: Ctrl+U
  • Action: Select the method name, press Ctrl+U
  1. See which subclasses are overriding the method
  • Description: See which subclasses the method is overridden by
  • Shortcut keys: Ctrl+Alt+B
  • Action: Select the method name, press Ctrl+Alt+B
  • Screenshots: