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.
User problem: ----------------------------------- Users usually have several files opened at a time but work on just a couple of them (2-3) simultanously. Switching opened files just by "left" "right" is insufficient as it involves lots of keypresses when the files of interest are too far away on the tab sheet. User need: ----------------------------------- Provide a one-keypress way to switch between the most recently used files. Product requirement: ----------------------------------- Reorder files in the list so that files switched often are close together (ala window switching in Visual Studio).
There is an alphabetized pick-list that is part of the tab control in the new window system. A nice solution might be to include the most recently used files as a separated list (think of the font chooser in MS Word - an MRU list at the top followed by an alphabetized list. Also possibly of interest (though I haven't looked at it yet) is David Strupl's "bookmarks module" which he just mentioned on nbdiscuss. Enables back/forward navigation ala a browser, with TopComponents supplying some kind of data about the state which should be stored and which the bookmark should return them to.
Difficulty: 1 Hack factor: 0-1 If documents will only be opened in one tabbed pane (or we can assume this), this should be fairly straightforward - the tab control can easily track this info - probably about two hours of coding tops to get this right. Issues: - Pick list will forget about documents that have been closed (if it is a requirement that they be remembered, this will become MUCH harder to implement - the tab control is a pure Swing control -knows nothing about documents - we'd have to handle cases like trying to reopen something that was deleted, etc.)
Not needed nor necessarily a good idea.