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.
I'd expect 'regular expression' to stay clicked, but it resets every time I do a new "find in projects."
Reproducible, applies to all items from 'Options' and 'Scope'. --- Product Version: NetBeans IDE Dev (Build 070723) Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 System: Mac OS X version 10.4.8 running on i386; MacRoman; en_US (nb) Userdir: /Users/Max/.netbeans/dev
*** Issue 109915 has been marked as a duplicate of this issue. ***
*** Issue 111152 has been marked as a duplicate of this issue. ***
From the usability point of view, this issue should be addressed in NB 6.
The state is now persistent. /shared/data/ccvs/repository/utilities/src/org/netbeans/modules/search/FindDialogMemory.java,v <-- FindDialogMemory.java new revision: 1.6; previous revision: 1.5 /shared/data/ccvs/repository/utilities/src/org/netbeans/modules/search/BasicSearchForm.java,v <-- BasicSearchForm.java new revision: 1.7; previous revision: 1.6
Still a problem in build 3540 - I changed the scope to 'main project', ran a search, opened the dialog again, and it had gone back to 'open projects'
My suggestion is: When the action is invoked contextually, always select 'Selection' When the action is invoked from the main menu, remember the last scope; if it is disabled, select 'Open Projects'. In the first invocation from main menu, select 'Open Projects'.
This is still a problem - tried again in with: changeset: 87884:cd2a46e86d46 Bring up the find in files dialog, select scope > main project, next time you run a find it's back to scope > open projects.
I can confirm that "Find In Projects" in current dev build always opens with "Open Projects" scope selected, does not remember the last used scope. But I don' think it is a P2 defect.
I can't argue too hard that it's really a P2, but it seems that in practice the priorities are: P1: We have to fix this RIGHT NOW. P2: Yes, fix this very soon. P3: Probably not going to fix this. The bug was filed a year ago today - happy birthday :-) (This is actually a fairly annoying bug - it means that I only keep one project open at a time, instead of having multiple projects open and one project set as the main project.)
Most of the fixed bugs are P3 bugs, so it has good chance to be fixed. > This is actually a fairly annoying bug... Really that annoying? As I understand, after invoking Find In Projects, you always need to select "Main Project" scope - i.e. to press Alt+M in addition after you type the text to search for. Or is it something more?
Except that I always forget to do that, so I end up with searches across multiple projects all the time. It's easier to just close the other projects. Find across files is used constantly if you're working with Ruby. Maybe Java people don't care so much? But in general, I'd say that this is exactly the kind of UI issue that creates a perception of netbeans being a bit unpolished. You're right, it's easy to work around, but it's something that I use all the time and I shouldn't need to work around.
I checked it on the latest build and looks like it works correctly. Invoking "Find In Projects" from the main menu remember last search scope and options. Invoking "Find..." from the node context menu sets the scope to "Selection" and sets last used options.
verified: Product Version: NetBeans IDE Dev (Build 200901160201) Java: 1.6.0_06; Java HotSpot(TM) Server VM 10.0-b22 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)