自定义快捷方式:删除“哈希指针”并且只需“去排队”即可按 CTRL+L
大家好
在 aptana Studio 3 中,我找不到有用的 CTRL+L -> 1
表示“哈希指针” 和 CTRL+L -> 2
表示“转到行”,我想摆脱第一个并轻松地使用 CTRL+L
转到行,仅此而已。有人知道该怎么做吗? - 谢谢
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是因为哈希指针 ruby 包命令具有冲突的键绑定。您可以转到命令>红宝石>编辑此捆绑包以将捆绑包的副本下载到您的文档文件夹中,然后编辑 ruby.ruble/commands/hash_pointer.rb 文件以更改键绑定。
但你提出的问题很重要,在非 Mac 系统上 Ctrl+L 是转到行的快捷方式,这是我们不应该冲突的。我可以轻松地将其更改为适用于 Win/Linux 的其他内容,供每个人在源代码处使用。这是跟踪该修复的 Lighthouse 票证:https://aptana.lighthouseapp.com/projects/35272-studio/tickets/2402-ruby-command-hash-pointer-keybinding-conflicts-with-go-to-line-on-non- mac-oses
That's because the Hash Pointer ruby bundle command has a conflicting keybinding. You can go to Commands > Ruby > Edit this Bundle to grab down a copy of the bundle to your documents folder, then edit the ruby.ruble/commands/hash_pointer.rb file to change the keybinding.
But the issue you raise is important, on non-Mac systems Ctrl+L is the shortcut for go to line which is something we shouldn't conflict with. I can easily change it to something else for Win/Linux for everyone at the source. Here's a Lighthouse ticket to track that fix: https://aptana.lighthouseapp.com/projects/35272-studio/tickets/2402-ruby-command-hash-pointer-keybinding-conflicts-with-go-to-line-on-non-mac-oses