Idea设置是运行当前类/当前文件,不是运行Run/Configurations里的,
如果Run/Debug Configurations里的默认快捷键是 /ctrl+shift+x/ctrl+shift+d
设置方法:
在 file - settings-keymap--直接搜索context
是other里的 Run/Debug context configuration
我直接设置为 alt+r/alt+d
不用每次都去鼠标点了
Idea设置是运行当前类/当前文件,不是运行Run/Configurations里的,
如果Run/Debug Configurations里的默认快捷键是 /ctrl+shift+x/ctrl+shift+d
在 file - settings-keymap--直接搜索context
是other里的 Run/Debug context configuration
我直接设置为 alt+r/alt+d
不用每次都去鼠标点了