问题描述
在 Visual Studio 中,我总是使用 Ctrl+Tab 和 Ctrl+Shift+Tab 在文档之间导航.我看到 Eclipse 有 Ctrl+F6 在编辑器之间导航,但这几乎不是相同的行为.不同之处在于,一次又一次地按下它会让你在两个文件之间来回移动,而在 VS 中,它会让你根据编辑器中的 Tab 键顺序向前导航.关于如何复制 VS 行为的任何想法?
In Visual Studio, I always use Ctrl+Tab and Ctrl+Shift+Tab to navigate between documents. I see that Eclipse has Ctrl+F6 to navigate between editors, but this isn't nearly the same behavior. The difference being, pressing it once and then again will get you moving back and forth between two files, whereas in VS, it will cause you to navigate forward based on the tab order in the editor. Any ideas on how I can replicate VS's behavior?
推荐答案
查看偏好设置对话框中的Keys,有下一个编辑器"和上一个编辑器"的命令,绑定到Ctrl+Alt+右/左.
Looking at Keys in the preferences dialog, there are commands for "Next editor" and "Previous editor", bound to Ctrl+Alt+Right/Left.
我使用 Ctrl+Page up/Page down,但这可能是 Linux 特有的,因为它在其他应用程序中是相同的快捷方式,例如作为 Nautilus 和 Terminal.
I use Ctrl+Page up/Page down, but that might be specific to Linux because it's the same shortcut in other apps such as Nautilus and Terminal.
这篇关于Eclipse 的 Visual Studio Ctrl+Tab 和 Ctrl+Shift+Tab 等效项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!