Project-wide find and replace in NetBeans 6

I am so glad to notice that NetBeans 6 (development build) now supports project-wide find and replace. See my previous post about this bug that plagued NetBeans since 2001. This bug fix is long overdue, but it's great to see NetBeans now has the real find-replace.

So in NetBeans 6, I can click on a project node, or package node, or any directory node in my project, and find. The pop-up window lets you specify the replacement string and options (case-sensitive, match whole word, regular expression, etc).

What's really nice is, it then opens up output windows where you can review, select, and de-select matches for replace:


Unknown said...

i want to find and replace a text with the first letter uppercased, example:
return object;
replace it with:
return Object;
and that using regular expressions

Anonymous said...

It still doesn't work. (6.9)
I get the Project Find & Replace dialog, I put in the pattern and its replacement, and there is only a Find button down at the bottom. No Replace button. I hit the find button, and it gives me a list of "Items Found, To Be Replaced" in the feedback window. So it knows what it's supposed to do, it's just not doing it.

The Help button also sucks, it just gives generic help on finds and replaces. It does not address Project-Wide Replace at all.

I should not have to play guess-guess with a main command like this. I hope both of these things can be improved.

Thank you.

Arul said...

Check the option "Replace in projects" in the edit menu in netbeans.

Unknown said...

Nice post it is very useful for me.
Each and every year we are providing Cheap and best students project at Madurai.

Unknown said...

Great and Useful Article.

Online Java Training

Java Online Training India

Java Online Course

Java EE course

Java EE training

Best Recommended books for Spring framework

Java Interview Questions

Java Course in Chennai

Java Online Training India

eMexoT said...

Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.

Internet Of Things training in electronic city

Diyalabs said...

Thanks for sharing such a helpful, and understandable blog. I really enjoyed reading it.

Robots for kids
Robotic Online Classes
Robotics School Projects
Programming Courses Malaysia
Coding courses
Coding Academy
coding robots for kids
Coding classes for kids
Coding For Kids