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 214098 - [72cat] Auto-close unused files
Summary: [72cat] Auto-close unused files
Status: RESOLVED DUPLICATE of bug 163683
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-13 09:06 UTC by Vojtech Sigler
Modified: 2014-04-15 20:56 UTC (History)
3 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 Vojtech Sigler 2012-06-13 09:06:47 UTC
I'm usually working with a large project (actually a group of projects - thousands of files). That means navigating through many files.

Every once in a while I get to the point of having heaps of files open in the editor (70+). I usually invoke Close All Documents and reopen the recent few that I used/need to use.

It would be nice to have a feature of auto-closing old/no longer used files.
In the settings, I would set that I want at most e.g. 15 files open. Then, whenever I would open a new file, the IDE would automatically close the "oldest" file that is currently open. The age could be set whenever I access the tab with the file.

This feature could let help people manage their workspace and I think it would also be good performance-wise.
Comment 1 ulfzibis 2012-06-13 22:11:11 UTC
Please note bug 185733.
Comment 2 Vojtech Sigler 2012-06-13 22:30:16 UTC
Yes, I've seen bug 185733, it half-insipired me to report this one. It is related, but different. 185733 speaks about the ability to close the editor tabs in a sort of a similar manner like we can do with a web browser - to close ones directly left or directly right of the current one. The one reported by me revolves about the same issue of having too many open files, but approaches it differently.

I have already seen this auto-closing feature somewhere and found it pretty neat (I think IntelliJ Idea has something similar). It would be nice to be able to close the files directly left or right of the active tab, but 214098 takes it a bit further and automates the closing process, keeping the workspace at least a bit clean without requiring direct user action.
Comment 3 markiewb 2013-10-03 10:06:25 UTC
> Every once in a while I get to the point of having heaps of files open in the editor (70+). I usually invoke Close All Documents and reopen the recent few that I used/need to use.

Somehow related to https://netbeans.org/bugzilla/show_bug.cgi?id=230895
Comment 4 amanica 2014-04-15 15:43:23 UTC
Marking as a duplicate of the older bug (which also seems to be catagorized correctly). 
I'm moving to netbeans from eclipse and I sorely miss this :(
Maybe this can be done easily in a plugin?

*** This bug has been marked as a duplicate of bug 163683 ***