[Qt-creator] Tabs suggestion

NOVAimages tg at novaimages.de
Sat Feb 7 12:17:53 CET 2009


Paulo Jnkml schrieb:
> Hi,
>   
>> First, tabs stop being effective after about ten open files. You simply 
>> run out of pixels and additional files you can't see.
>>   
>>     
> I agree.
>   
>> Second, Qt Creator has more efficient ways of navigating between files 
>> than using the mouse to click on tabs or the combo box, or even the 
>> project nagivator. If you're concerned about efficiency, try practicing 
>> with the Quick Open command for a while. It's REALLY nice -- you can go 
>> to a file, a class, a method, a variable, a line number, just with a few 
>> keystrokes.
>>
>>   
>>     
> Yes, I also think so. Tabs are only good for new users apparently. I 
> still think that they are better than a combox.
>   
>> Third, the combo box allows the current symbol and line/column position 
>> to be displayed in the same screen real estate instead of being forced 
>> into a second bar. If you only need to see the current file (because 
>> switching files can be done in many other ways) the combo box is a much 
>> more efficient tool. (Tabs, on the other hand, might give you no 
>> indication of the current open file if it's off the right side of the 
>> screen.)
>>   
>>     
> Well, that is not true. In the scheme that I proposed, the tab wouldn't 
> force the line number, close button, etc.. to be moved to a separate 
> bar. It would just show less tabs using the same bar.
>
> If it wasn't for the new users and the fact that it is more standard, I 
> would say don't use tabs. Actually, dont' even use a combo box since 
> apparently no one uses or likes it anyway. Or am I wrong?
>
> I didn't read any positive comment about the combo box yet. I didn't 
> consider "combo box is a much more efficient tool" for the reason 
> previously stated.
>
> =)
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>   
Well in THAT case

Hey ... I AM USING THE COMBOBOX and it is much more efficient ! :-)

No really, i'm mainly a visual studio developer and working with tabs is 
really shitty there.
You have in each larger project very soon 30 tabs opened. And then 
finding your one is really timeconsuming.
The arrow for drop down is so small that you easily miss it.
So i'm (and all people i'm working with) scroll through the tabs until 
they find the correct file.
Or they close everything.
Yes they COULD use the menu or the dropdown but because the tabs are 
visible no one does it and it takes much time.

CTRL-TAB is good to switch fast through your files but it's also slower 
if you have multiple files open than the combobox. Because after each 
CTRL-TAB you have to visually scan the text file wich one it is or look 
at the top to find the name.
Clicking on the combobox shows all files, and it's easy to select it.

So because of that tab discussion here in the forum we tested it. With 
visual studio tabs (30 files open) we need about 25 seconds to find the 
file.
With CTRL-TAB about 15 seconds.
With combobox about 5 seconds.

(by the way since qt creator the people here use the drop down box of 
visual studio to navigate)

The only thing i am missing is moving files between split spaces. If you 
split it up (what i do all the time, have the header on the right side, 
the code on the left side) i have no way to move the files between the 
areas (or no one here found it)

Just another question is it really necessary now to have all files 
opened separately ? Opening it from disk does not take more time 
(feeled) than selecting it by dropdown or whatever (and IF it takes more 
time you should think about reorganising your code. more than 50.000 
lines of code in one file is NOT a good idea ;-) )

So a more radical way of completely ignoring wether the file is on disk 
or in memory (because of unchanged saves) could be also interesting (and 
it's partially possible with the quickopen mechanism)

Greetings
Thomas

-- 
-------------------
Dipl. Inf.(FH) Thomas Ganshorn
NOVAimages
software media&more




More information about the Qt-creator-old mailing list