Android Studio some use shortcut keys

1.command+delete
deletes a line of code

2.command+o
  finds a specific

class3.command+shift+o
  finds a specific

file4.control + space
  automatically displays the prompt

method5.option+return
  imports related classes6

. option+command+L
  to select part of the code to

format7.command+X to
  cut a piece of

code8.command+shift+h
  to view an implemented interface9.shift

+F2
  to locate the wrong location in the

code10.option+F7 to find those places This method is

called 11.control+option+R
   project runs the shortcut menu

12.command+F12
   finds all methods in a class;

13.option+command+b
   checks all the places where the current method is implemented;

14.option+shift+up and down key
   codes Move up and down

15.command+R command+shift+R
   Replacing a variable as a whole Replace a variable in the entire project file

16.shift+F6
   Change a variable as a whole;

17. The method that option+return
needs to implement.
The variable that needs to be created.

18. Command+shift+K
submit the code to the remote warehouse

19. Quickly extract a method
option+command+M

20. Formatting code:
      option+command+L

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326404996&siteId=291194637