Eclipse's Visual Studio Ctrl+Tab and Ctrl+Shift+Tab Equivalent

若如初见. 提交于 2020-01-01 03:56:05

问题


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?


回答1:


Looking at Keys in the preferences dialog, there are commands for "Next editor" and "Previous editor", bound to Ctrl+Alt+Right/Left.

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.




回答2:


I just set the Next tab and Previous tab actions under Preferences > General > Keys to Ctrl+Tab and Ctrl+Shift+Tab respectively and it works just fine. Eclipse is highly customizable



来源:https://stackoverflow.com/questions/2751573/eclipses-visual-studio-ctrltab-and-ctrlshifttab-equivalent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!