can i bind a shortcut to quick fix a specific weak warning?

Answered

hello everyone :) noob here,

i'm trying to bind a shortcut key to a specific weak warning in goland.

i like declaring implicit struct literals 

although i click on it in the gif there i have it now the option `show quick fixes` binded to a shortcut but i still have to navigate to the problems tab, and select the warning.

is there a way i can do it in one shortcut key? just for this specific warning?

0
1 comment

Hello,

You can access the menu with available quickfixes by pressing Alt+Enter right into the editor area.

There is no way to assign a shortcut to a specific inspection.

I hope it helps.

0

Please sign in to leave a comment.