idea- shortcut set code formatting (Version 2019.1)

idea default formatting shortcuts are: Ctrl + Alt + L, sometimes conflict other software shortcuts lead to failure.

Set as follows:

1.File -->  Settings...  

  

 

2. Keymap -> Code 

  

 

3.Code ->Reformat Code

     

 

4. Right Reformat Code pop Add Keyboard Shortcut

  

 

5. then modify your own familiar keyboard shortcuts on the line

  

idea default formatting shortcuts are: Ctrl + Alt + L, sometimes conflict other software shortcuts lead to failure.

Set as follows:

1.File -->  Settings...  

  

 

2. Keymap -> Code 

  

 

3.Code ->Reformat Code

     

 

4. Right Reformat Code pop Add Keyboard Shortcut

  

 

5. then modify your own familiar keyboard shortcuts on the line

  

Guess you like

Origin www.cnblogs.com/jpfss/p/11646277.html