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 163683 - A 'maximum number of open editor tabs' setting
Summary: A 'maximum number of open editor tabs' setting
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.1.2
Hardware: All All
: P3 blocker with 12 votes (vote)
Assignee: Jan Becicka
URL:
Keywords:
: 214098 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-26 01:18 UTC by angleworm
Modified: 2016-10-11 16:54 UTC (History)
5 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 angleworm 2009-04-26 01:18:34 UTC
I often find that I have to stop coding to close a large number of editor tabs which I'm no longer using, in order to
have room for the three or four tabs that I'm currently working with. Back when I used Eclipse, there was a feature
whereby I could specify a maximum number of open editor tabs, and when that number was exceeded the least recently used
tab would automatically be closed. This would be a great feature to have in NetBeans.
Comment 1 amanica 2014-04-15 15:43:23 UTC
*** Bug 214098 has been marked as a duplicate of this bug. ***
Comment 2 amanica 2014-04-15 16:21:52 UTC
If this get's too hectic, I found a workaround that is not too bad:

Window -> Documents (CTRL+shift+E)
Order it by recently used
Select the bottom half of the files (adjust to taste:)
Close Document(s)
Comment 3 maxwhite5 2015-08-14 15:46:36 UTC
I made a plugin, that add this feature:
http://plugins.netbeans.org/plugin/59712/maximumopentabs
Comment 4 StephaneJ 2015-12-02 09:09:47 UTC
+1

This feature is also in Idea.
https://www.jetbrains.com/idea/help/editor-tabs.html
This feature has several interesting option. (Close non-modified files first, Close less frequently used files...)
Comment 5 markiewb 2015-12-05 10:44:10 UTC
(In reply to StephaneJ from comment #4)
> +1
> 
> This feature is also in Idea.
> https://www.jetbrains.com/idea/help/editor-tabs.html
> This feature has several interesting option. (Close non-modified files
> first, Close less frequently used files...)

@StephaneJ: Filed for you at the plugin page https://github.com/maxwhite/MaximumOpenTabs/issues/3
Comment 6 StephaneJ 2015-12-08 08:32:10 UTC
(In reply to markiewb from comment #5)
> (In reply to StephaneJ from comment #4)
> > +1
> > 
> > This feature is also in Idea.
> > https://www.jetbrains.com/idea/help/editor-tabs.html
> > This feature has several interesting option. (Close non-modified files
> > first, Close less frequently used files...)
> 
> @StephaneJ: Filed for you at the plugin page
> https://github.com/maxwhite/MaximumOpenTabs/issues/3

Thank you!
Comment 7 angleworm 2016-10-11 16:54:14 UTC
(In reply to maxwhite5 from comment #3)
> I made a plugin, that add this feature:
> http://plugins.netbeans.org/plugin/59712/maximumopentabs

Thanks! Finally my wish is granted. But is there any chance of a version for NetBeans 8.1 or 8.2?