英文:
Can I bind a shortcut to quick fix a specific weak warning?
问题
我正在尝试将一个快捷键绑定到GoLand中的特定弱警告。
我喜欢声明隐式结构字面量。
尽管我在gif中点击了它,但现在我已经将选项"显示快速修复"绑定到一个快捷键,但我仍然需要导航到"问题"工具窗口,并选择警告。
有没有办法可以用一个快捷键完成这个操作?只针对这个特定的警告?
英文:
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 toolwindow, and select the warning.
Is there a way I can do it in one shortcut key? Just for this specific warning?
答案1
得分: 2
我能够解决这个问题,或者说我一直在做的就是解决方法,因为我应该从编辑器中访问“显示上下文操作”选项,现在我只需要按下快捷键并按下回车键,它就会自动执行。
英文:
i was able to work around it, or i guess what i've been doing was the work around coz what i should be doing is accessing the show context actions
options from the editor now i just do that keybind and press on enter and it just goes.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论