Kasanova
Kasanova

Reputation: 593

Simply search a string in entire netbeans solution

Is there a way to find the entire solution for a string in netbeans. I believe that there is a find [ ] tab to find a word in the .java file but looking to find the word in the entire solution.

p.s. Not to find and replace.

Thanks alot in advance.

Upvotes: 37

Views: 38558

Answers (5)

Rakesh Singh Balhara
Rakesh Singh Balhara

Reputation: 410

ctrl + shift + F is the shortest way.

You can define the wildcard there.

Upvotes: 1

Michael
Michael

Reputation: 483

On the mac it is cmd + shift + f (but you have to select the project on the projects pane, otherwise it doesn't work) or Toolbar --> Edit --> Find in Projects.

Upvotes: 1

VanThaoNguyen
VanThaoNguyen

Reputation: 812

Press Ctrl + Shift + H.

On the screen appear option scope. Click on this text-box and choose the project you want to find needed text snippets, or you can find all of the projects. I am using Netbeans 8.1 Best regard !

Upvotes: -2

Navin
Navin

Reputation: 193

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.

Upvotes: 2

Dan675
Dan675

Reputation: 1767

Click - Edit - Find in Projects

or ctrl + shift + F

Can enter the containing text and the scope - Open Projects - Main Project - Selection

Upvotes: 58

Related Questions