Goland format code shortcuts do not work

goland format code shortcut does not work. The shortcut key from Baidu to format code is CTRL+ALT+L , but the pop-up box below opens the password lock when pressed.

clipboard.png

question:
how should goland format the code?

Jan.23,2022

the personal test is effective.

the shortcut key on my side is: alt + shift + cmd + f

or set the code to be automatically formatted when saved.

clipboard.png


gofmtgoimport
Goland idea

https://segmentfault.com/img/...
clipboard.png


CTRL+ALT+L is occupied by the hotkey of qq. Cancel the hotkey in the qq setting.

Menu