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 224459 - [73cat] options: open editor
Summary: [73cat] options: open editor
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.3
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-04 09:10 UTC by muellermi
Modified: 2013-01-08 14:28 UTC (History)
0 users

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 muellermi 2013-01-04 09:10:37 UTC
Product Version = NetBeans IDE Dev (Build 201301040001)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.7.0_10
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.6-b04

In options, miscellaneous, windows
NetBeans offers a checkbox "New document opens next to active document tab"
If not checked, new documents are appended

Sometimes it is usefull to grup documents together. This might be done by checking this box, or by reordering the tabs via drag and drop.

Sometimes it might be more easy to find a document, if it is in alphabetical order. The user may use Window, documents (Shift-F4).

But it might be done by simply open documents in alphabetical order.

Thus, I suggest to replace the checkbox  "New document opens next to active document tab" by a group of radio buttons:

 "New document opens after last document tab"
 "New document opens next to active document tab"
 "New document opens in alphabetical order"

If the third option is checked, search the tabs from the beginning: If new title follows investigated tab, investigate next tab, otherwise insert. Doing so, the new document will be inserted at the first place found. Re-orders done by the user will be kept.

Suppose you have these open documents, re-ordered by the user

1. A1
2. B
3. C
4. A2 (manually re-ordered)

Now the user opens A3. It will be inserted between A1 and B, cause this is the first fit. It wont be appended to A2.

Optional a menu "Order tabs alphabetical" is provided (independent from the changes above). Or oder by package, alphabetical. But this might be a different enhancement.