zz from stackoverflow - effecient tip: how switch tabs in Eclipse
来源:互联网 发布:乐高编程机器人价格 编辑:程序博客网 时间:2024/06/05 03:58
Here the shortcut will favor Windows Users, but you can expand the short-cut to Mac as well.
- CTRL+E (for a list of editor)
- CTRL+F6 (for switching to the next editor through a list)
You can assign another shortcut to the 'Next Editor' key.
are the two official shortcuts, but they both involve a list being displayed.
CTRL+Page Up / CTRL+Page Down can cycle through editors without displaying a list.
What is interesting with that last set of shortcuts is:
they are not listed in the Eclipse Keys shortcuts to be defined.
They may be inherited from the multipage editor, making them an OS specific shortcut.
Regarding shortcuts on Max Os, MДΓΓ БДLL complained in Sept. 2011 to not being able to remap CTRL+Page Up/CTRL+Page Down:
It drives me nuts to not be able to flip through open tabs as I can in pretty much every other tabbed program in OS X (⌘-Left and ⌘-Right).
Well, in March 2012, Arthur replied:
, I've just downloaded the latest version of Eclipse (3.7+). I've been able to bind "Previous/Next tab" to (⌘-Left and ⌘-Right) when in Editor, which I'm pretty sure I couldn't do before.
So I guess they heard you.
It works just as you expect, tabs going from left to right and vice-versa, not on a history basis or some nonsense like that.
MДΓΓ БДLL confirms:
oh wow, selecting "Editing Java Source" actually worked!
Now, unfortunately this means that I'm SOL if I nav into a non-Java file (JSP, XML, JS, etc.).
The fix for this is to "copy command" for this pair, and select all the "whens" that I want.
So far it's at least working beautifully for Java and JSP files.
This is a major PITA to set up, but it's just a one-time thing.
His exported preferences are available here for you to try.
Once imported, you should see, for all the relevant types of document:
On OSX, replace CTRL with CMD for the first two keyboard actions. But you will still need to use CTRL with PgUp or PgDown to cycle through editors. Another set of useful KB shortcuts I just found while trying out some of the suggestions below: you can use ALT+Up or ALT+Down to move an entire line of code.
- zz from stackoverflow - effecient tip: how switch tabs in Eclipse
- How to switch from POST to GET in PHP CURL
- iPhone: How to switch tabs with an animation?
- How to generate UML Diagrams from Java code in Eclipse
- How to exclude .svn directories from search in Eclipse?
- How does popupWindow.showAtLocation work? copy from stackoverflow
- Eclipse Tip:Restore from Local History.
- Eclipse Tip:Restore from Local History. .
- How to remove the tabs from MSN Messenger 7
- How do I compare strings in Java?(Stackoverflow)
- ZZ Quick-Tip: Linux NAT in Four Steps using iptables
- Ubuntu Tip:How to show desktop from command line
- How to implement switch statement in python
- Oracle Tip: Understand how NULLs affect IN and EXISTS
- How to remove native support from an Android Project in eclipse because eclipse is showing errors in
- How to create unit test folder separated from src folder in eclipse project?
- How do I find a particular class from an Eclipse plug-in?
- 【跟着stackoverflow学Pandas】How to iterate over rows in a DataFrame in Pandas-DataFrame按行迭代
- IOS开发之深拷贝与浅拷贝(mutableCopy与Copy)详解
- .Net 2.0的WinFom程序打了数字签名之后程序启动很慢
- linux SVN服务器创建版本库
- 一个简单的游戏服务器框架
- oracle 10g 相关语法
- zz from stackoverflow - effecient tip: how switch tabs in Eclipse
- ASIHTTPRequest详解 【经典】(二)
- 性能调优攻略
- Java语言中set与list的区别
- Effective C++(四)设计与声明
- linux下 unzip解压的使用
- C++宏定义详解
- ASIHTTPRequest详解 【经典】(三)
- How main() is executed