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 really see a need for Find and Replace with RegEx at all levels in the Editor. Further, the find and replace fields are just too small. I would love to see something BBEdit style. Nice big Text Area boxes with find and replace in the document, across all open docs, and across a project.
Set target milestone to TBD
Regular expression find/replace (single file & globally) is a very useful feature, common in other editors. This missing feature is a major editor deficiency IMHO. Visual Slick Edit is very nice in this regard and should be consulted as a reference. This Issue has been open for more than a year now and should be addressed in the near future.
*** Issue 36953 has been marked as a duplicate of this issue. ***
*** Issue 40963 has been marked as a duplicate of this issue. ***
Copy additional info from Issue 40963 This issue is a superset of issue #26810. This will allow us to replace tabs, newlines or any other combinations we can dream of. Other editors support this and it works quite well. ------- Additional Comments From Gili Tzabari 2004-03-12 08:28 PST ------- I should point out that the file-system FIND operation already supports searching for regular expressions so reusing that code in the editor should be rather easy. Their UI is pretty decent as well. ------- Additional Comments From Gili Tzabari 2004-03-12 08:28 PST ------- One other approach (used by TextPad, another editor) is that you have a single SEARCH/REPLACE UI with a checkbox that reads "regular expression" and when enabled, both source/target strings are assumed to be regular expressions.
Changing subcomponent to "search"
implemented in [maintrunk] /cvs/editor/libsrc/org/netbeans/editor/BaseSettingsInitializer.java,v <-- BaseSettingsInitializer.java new revision: 1.24; previous revision: 1.23 /cvs/editor/libsrc/org/netbeans/editor/Bundle.properties,v <-- Bundle.properties new revision: 1.53; previous revision: 1.52 /cvs/editor/libsrc/org/netbeans/editor/DocumentFinder.java,v <-- DocumentFinder.java initial revision: 1.1 /cvs/editor/libsrc/org/netbeans/editor/DrawLayerFactory.java,v <-- DrawLayerFactory.java new revision: 1.43; previous revision: 1.42 /cvs/editor/libsrc/org/netbeans/editor/FindSupport.java,v <-- FindSupport.java new revision: 1.61; previous revision: 1.60 /cvs/editor/libsrc/org/netbeans/editor/SettingsDefaults.java,v <-- SettingsDefaults.java new revision: 1.45; previous revision: 1.44 /cvs/editor/libsrc/org/netbeans/editor/SettingsNames.java,v <-- SettingsNames.java new revision: 1.17; previous revision: 1.16 /cvs/editor/libsrc/org/netbeans/editor/ext/FindDialogPanel.form,v <-- FindDialogPanel.form new revision: 1.9; previous revision: 1.8 /cvs/editor/libsrc/org/netbeans/editor/ext/FindDialogPanel.java,v <-- FindDialogPanel.java new revision: 1.12; previous revision: 1.11 /cvs/editor/libsrc/org/netbeans/editor/ext/FindDialogSupport.java,v <-- FindDialogSupport.java new revision: 1.54; previous revision: 1.53 /cvs/editor/src/org/netbeans/modules/editor/options/BaseOptions.java,v <-- BaseOptions.java new revision: 1.98; previous revision: 1.97 /cvs/editor/src/org/netbeans/modules/editor/options/Bundle.properties,v <-- Bundle.properties new revision: 1.76; previous revision: 1.75