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.
It would be nice to have a find and replace (in addition to the simple find) mechanism from the filesystem explorer. An example of its intended use: I was recently asked to remove around some unecessary import statements from around 175 files. I could find the files using the filesystem explorer. However I was forced to open each one and perform another find|replace 175 times! Kawa 4.x has this feature and I sorely missed it when moving to netbeans (which btw is far superior in almost every other aspect).
Target milestone -> 3.3
Target milestone -> 3.3.1.
Editor module already implement 'Find and Replace' functionality, which should be also used with Find and Replace on filesystem. Editor module should just go through filesystem and apply its F&R action on all FileObjects. Reasonable connection between Editor and Utilities modules could be Find and Replace action on any DataObject (probably Tools action) provided by Editor module. User will specify files ('Find ...' - utilities) in which want to apply F&R action ('Tools | Find and Replace' - editor).
*** Issue 20401 has been marked as a duplicate of this issue. ***
*** Issue 20670 has been marked as a duplicate of this issue. ***
Set target milestone to TBD
Changing subcomponent to "search"
We are quite often confronted with replacing text in multiple files, not only in java source code, when renaming objects, which i hope will be available through the long awaited upcoming refactoring tool. But also when replacing licence information or text/code in jsp or html or configuration files. At the moment i always need to use tools like UltraEdit, which is quite uncomfortable. Is there any support planned for this feature in the upcoming 4.0 version?
*** Issue 35555 has been marked as a duplicate of this issue. ***
Issue #35555 contains useful comments from Tim Boudreau - read them before implementing this feature.
This is a duplicate of issue #18237. Bug report #18237 contains much more comments and votes so I decided to keep it open instead of this one. *** This issue has been marked as a duplicate of 18237 ***