Too many editor tabs?

David Strupl <[email protected]>
Newsgroups gmane.comp.java.ide.netbeans.user,gmane.comp.java.netbeans.user-interface,gmane.comp.java.netbeans.devel
Message-ID <[email protected]>
Hi,

I apologize for the crosspost but thought this might draw attention of 
different audiences. Please select alias according to the types of 
comments (nbdev for "your code sucks", nbui "your UI sucks", nbusers for 
"I cannot make it run").

I was looking at my wife working with Eclipse the other day and she kept 
saying that she did not like it. She was using Visual Age for Java 
before and keep telling my how much better it was compared to those 
today's IDEs. After chatting for a while why she thought it was not 
convenient to work with the modern IDE we found out that if you work for 
a while you end up literally buried in the flood of opened editor 
windows. As today's NetBeans uses the very same UI for opened editor 
tabs I have noticed that I also quite often end up using the action for 
closing all opened editor tabs.

I think that closing all the opened tabs might be useless if there would 
not be that many opened tabs in the first place.

So I have created a little module as a proof of concept only. You can 
find it here (binary):
http://www.solutions.cz/cz-solutions-simpleedit.nbm
Sources in CVS:
contrib/tool/simpleEdit

The module keeps closing the tabs for you if you open a new editor. I 
have added 2 new controls to the main toolbar:

1. [ ] Checkbox allowing to keep an editor view opened
2. < Back arrow for opening the previously closed editor view

To enable the closing functionality please go to

Tools --> Options --> Misc --> Editor tabs --> and check the checkbox.

I am well aware that this is only for testing, much better UI would be 
e.g. if the checkbox would be present directly in the editor tab somewhere.

I know that this change touches the very delicate decision about what 
should the GUI do by default (keep the editor tabs opened (and close per 
user's request) or to close them by default (and keep opened only per 
user's request).

I am waiting for any kind of comments, best regards,

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.