Anyone know if it's possible to search and replace in all opened files in netbeans? Can't seem to find the option if there even is one.
I'm using the Netbeans 6.9 PHP IDE
To search and replace text, click in the file that you want to replace text, press Ctrl-H, and fill in the Find What and Replace With fields. By default, matches to a Find command remain highlighted in the Source Editor after you have dismissed the Find dialog box. To turn off the highlighting, press Alt-Shift-H.
In NetBeans 8.2 Go to Window->Navigator in menu bar or press Ctrl+7 and select Projects it will open a folder as work space .
CTRL+SHIFT+H
This will open the Replace in Projects, where-in you can search and replace on files on all open projects, or on the selected project only.
Open the file you want the replacements.
Press Ctrl + H
And them at the bottom you will see
It's available in builds >= 7.4 from NetBeans. Not available in 7.3. I just got a status update message from NetBeans that they've added this feature.
To search in open files press CTRL+SHIFT+F
and in section scope
select Open Documents
.
Sure you can ... or at least you can do something very similar ...
Go to projects view and select multiple files (the files you have opened in this case). Then press CTRL+F and start searching in the selected nodes. It's not exactly 'opened files' but I think it's your best choice.
Hope that helps!
PD: CTRL + CLICK is a good method to select multiple files on Windows.
This seems impossible in netbeans 6.9 and it hasn't been introduced in Netbeans 7 either.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With