This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 209149 - Editor tabs optionally in a vertical bar.
Summary: Editor tabs optionally in a vertical bar.
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: UI (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Petr Somol
URL:
Keywords:
Depends on:
Blocks: 209259
  Show dependency tree
 
Reported: 2012-03-05 01:07 UTC by pekarna
Modified: 2012-11-05 09:44 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pekarna 2012-03-05 01:07:26 UTC
With current wide screens, it would make more sense to have the tabs stacked in a vertical column rather than occupying the top, where they don't fit anyway.

It would be even more cool if the tabs could form a tree, showing the order in which the user opened them when navigating through method calls.

See here for some inspiration:
https://static-ssl-cdn.addons.mozilla.net/img/uploads/previews/full/30/30846.png?modified=1238085213

Thanks for considering.
Comment 1 pekarna 2012-03-05 01:10:49 UTC
I just found this on StackOverflow
http://stackoverflow.com/questions/7672760/vertical-file-tab-in-netbeans
pointing to http://hg.netbeans.org/main/rev/e36924dd340d

So, is this feature request actually implemented?
Comment 2 Petr Somol 2012-03-05 09:27:29 UTC
Stando, what is the status regarding vertical toolbars, do we plan this ? IMHO the main toolbar is not designed for vertical display, some elements like Configuration drop-down-list or the garbage collection reporter are too wide to permit it. What I can imagine is vertical display of editor toolbar, where except for the buttons Source, Design, History, all icons are same size and the width of the three buttons seems not prohibitive. However, UEX questions remain: visual interference with all the elements that editors put vertically along edited text (line numbers, bookmarks, breakpoints etc on the left, search term positions, bugs etc on the right), but these should not be prohibitive..
Comment 3 Stanislav Aubrecht 2012-03-05 10:27:48 UTC
i think the reporter is referring to top-level window tabs, not editor toolbars.
in dev builds it is already possible to have editor tabs arranged vertically.

as for vertical main window toolbar - there's no plan for that. if somebody needs extra vertical space then can turn the toolbar off and use keyboard shortcuts or menu commands instead...
Comment 4 patkoscsaba 2012-04-23 11:23:45 UTC
If in dev builds it is already there, will this feature be present in the next stable (7.2 or whatever it is) ? I am also having lot of opened files and the tabs on the top just can't fit in the screen. However, on wide-screen displays there is alway enough space on the sides, since code usually doesn't pass 120 characters. 

So, vote up for this one.
Comment 5 Petr Somol 2012-04-24 12:11:21 UTC
Verified that in current dev build it is possible to arrange editor tabs vertically (this means the feature will be available in NB 7.2).

Note that there is also the option to arrange editor tabs horizontally in multiple lines. See Tools->Options->Miscellaneous->Windows->Multi-row tabs.
Comment 6 pekarna 2012-11-04 13:42:05 UTC
Just tried, works, thanks.

However:

1) Could the tab space be resizable? Currently, it's either fixed or I didn't find way to resize.

2) Tab labels are centered. That's not much usable/nice. Could it be left-aligned?
Comment 7 pekarna 2012-11-04 13:44:41 UTC
Just noticed: It resizes automatically to the width of the longest label.
IMO, having it user-resizable and just show as much of the label as fits would be much better. First few letters of the file is usually enough to distinguish.
Comment 8 Stanislav Aubrecht 2012-11-05 09:44:56 UTC
(In reply to comment #6)
> Just tried, works, thanks.
> 
> However:
> 
> 1) Could the tab space be resizable? Currently, it's either fixed or I didn't
> find way to resize.
> 
> 2) Tab labels are centered. That's not much usable/nice. Could it be
> left-aligned?

The implementation is based on Swing's JTabbedPane so it is limited in what that class can do on various look and feels.