Search and Replace Entire Project (Netbeans)

Viewed 78221

Is there a way to do a project wide search and replace in netbeans? It seems like there should be, but I can not find any information on it.

Thanks

5 Answers

If you click on the project in the projects pane.

Then press and hold Ctrl+Shift+H

A find and replace window will come up where you can specify what you would like to find and what to replace it with. You can use regular expressions and then after you search you can walk through all the results in the different files that are returned.

If you need to find something and replace in the open file, you can do this:

Go to Edit Menu -> you will find Replace and below the editor will appear Incremental Search Sidebar where you can type what you need to find and replace.

Shorcuts:

Ctrl+H for Find what and Replace with in the open file.

Related