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.
Ever since version 7? the Match dropdown has defaulted to Literal. Im sure I am not the only long time Netbeans user that has searched like mad for strings containing wildcards and wondered why there are no matches. There are no matches, because that damn dropdown has defaulted to Literal again! Im sure many new users also assume that the search string can contain basic wildcards. If this stays defaulted to Literal: people get false search results suggesting less matches when they search with wildcards If this defaults to "Basic wildcards" again: Literal search still works as if Literal is selected. Its quite rare to search for any strings containing * or ?
The Literal match was chosen as the default option mainly because it's more consistent with Find in editor (which supports only Literal and Regexp match). See bug 224328. I understand that it's annoying for you, but the option is persisted. So if you change the match mode to "Basic Wildcards" after NetBeans installation, it'll be the preselected option in newly opened Find in Projects dialog. Closing for now, I think that changing the default option again is not a good idea. Thank you for understanding.
its not persistent, never has been if its not an actual bug, then is it a common problem?
(In reply to allanNB from comment #2) > its not persistent, never has been It works fine for me, I've just tested it (NetBeans 8, Windows 7 64 bit, JDK 8). I'll also test it on Linux soon. If persisting doesn't work for you, can you please attach your IDE Log? It may contain some warning or related info messages. Thank you.
(In reply to Jaroslav Havlin from comment #3) > I'll also test it on Linux soon. It works fine for me on Linux. My steps: 1.) Open Find in Projects dialog (Ctrl+Shift+F) 2.) Enter Containing Text value "Test123" 3.) Select Match "Basic Wildcards" 4.) Click "Find" 5.) Close the IDE 6.) Start the IDE again 7.) Open Find in Projects dialog -> Match "Basic Wildcards" is preselected. If it doesn't work for you in some scenario, please describe exact steps to reproduce and attach your IDE Log. Also check and possibly attach contents of these files in ~/.netbeans/8.0/configPreferences/org/netbeans/api/search: - FindDialogMemory.properties - SearchHistory.properties Thank you.