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 209776

Summary: Navigate ->Select open documents in Projects, Favorites, Files
Product: editor Reporter: scifi_fan
Component: NavigationAssignee: Jan Becicka <jbecicka>
Status: REOPENED ---    
Severity: normal CC: markiewb
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description scifi_fan 2012-03-20 09:54:18 UTC
I suggest adding new selection functions to the "Navigate" menu:

- Select open documents in Projects
- Select open documents in Files
- Select open documents in Favorites

These should behave just like their respective, already present, single-document equivalents, but for all opened documents.

So, for example, if I have document1.php, document2.txt, document3.yml open, and I select "Select open documents in Projects", I have these 3 documents selected in the "Projects" pane, which pops up when selection is done.

This allows for the following, as I think, very convenient use cases:

- Create a patch for all files I have changed during a bugfix (changed files are still open)
- Find the occurrence of a search string in any open document using "Find in Projects" with scope "Selection" (e.g. locate all "var_dumps" added during debugging)
- Commit all changes made during a task to my SCM using context menu in File browser

Note how this feature would be especially useful together with Tushar Joshi's "nbtaskfocus" that manages the "open documents" selection based on a task context.
Comment 1 Martin Balin 2016-07-07 07:28:51 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 2 markiewb 2016-07-10 18:30:15 UTC
Still valid in 8.2 dev 
Product Version: NetBeans IDE Dev (Build 201607100002)