如何使用鼠标按钮在XCode中导航
我想知道是否有一种方法可以将鼠标按钮绑定到XCode中的特定键盘快捷键。我的特定用例是能够使用鼠标侧按钮导航。在vscode中,可以使用 9 9 和进行
进行向前使用⌥ 0 但我的侧鼠标按钮(Logitech G402)也被映射到此操作。
在Xcode中,我尝试设置 9 to 返回
和 < < < < < < kbd> 9 返回下一个编辑器
,但鼠标按钮不会触发导航操作的快捷键。
我知道解决方法是仅在Xcode中创建一个在GHUB中创建一个配置文件,将侧面按钮绑定到特定的键绑定并在Xcode中使用此键绑定,但是我很好奇是否有另一种方法可以在Xcode中使用鼠标导航。
I would like to know if there is a way to bind a mouse button to a specific keyboard shortcut in Xcode. My specific use case here is to be able to navigate by using the mouse side buttons. It is possible in vscode to Go Back
with ⌥⌘9 and Go Forward
with ⌥⌘0 but my side mouse button (Logitech G402) also get mapped to this action.
In Xcode, I tried setting ⌘9 to Go Back
and ⌥⌘9 to Go Back in Next Editor
but the mouse button doesn't trigger the shortcut of the navigation action.
I know a workaround would be to create a profile in ghub only for Xcode, to bind the side button to a specific key binding and use this key binding in Xcode, but I was curious if there was another way to navigate with the mouse in Xcode.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有点解决方法,但是我设法通过运行
它可以下载:
Kind of a workaround, but I've managed to make this work by running the Sensible Side Buttons and GHub app side by side. Sensible Side Buttons dont have any impact on the macros I've created with GHub and XCode seems to recognize the navigation command when this app is running.
It can be downloaded with :