Eclipse:如何在控制台窗口和编辑器之间切换?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5090178/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Eclipse: how to switch between console window and editor?
提问by tesmp
I'm using Eclipse for Python and R development. How can I jump between editor tab and console window using a keyboard shortcut / hotkey?
我正在使用 Eclipse 进行 Python 和 R 开发。如何使用键盘快捷键/热键在编辑器选项卡和控制台窗口之间跳转?
回答by Chakra
Go view Console: Shift+ Alt+ Q+ C
去查看控制台:Shift+ Alt+ Q+C
You can switch to Editor using Ctrl+ F7.
您可以使用Ctrl+切换到编辑器F7。
Ctrl+ Shift+ Ldisplays all the shortcuts in Eclipse.
Ctrl+ Shift+L显示在Eclipse中的所有快捷方式。
回答by Scott Skiles
I've found the following works:
我发现了以下作品:
Toggle between views: Ctrl+ Shift+ F7
在视图之间切换:Ctrl+ Shift+F7
Switch Editor: Ctrl+ Shift+ F6
开关编辑:Ctrl+ Shift+F6
Go to R Console (In StatET perspective): Ctrl+ R, C
转到 R 控制台(在 StatET 中):Ctrl+ R,C
However, the first two are not a direct route back to the editor and require use of the arrow keys and Ctrl+ 7does not work for me. Any other ways to go directlyback to the last editor used?
但是,前两个不是返回编辑器的直接路径,需要使用箭头键,而Ctrl+7对我不起作用。还有其他方法可以直接返回到上次使用的编辑器吗?
回答by lavanya
For RStudio:
对于 RStudio:
Ctrl+1
: focus to sourceCtrl+2
: focus to console
Ctrl+1
: 关注源Ctrl+2
: 焦点到控制台
More shortcuts are mentioned under the 'View' menu.
“查看”菜单下提到了更多快捷方式。