1

I have a lot of php code and I'm going through it right now (500+ files). I was hoping to find a program that would let me easily search through the files to see which files contain a specific variable I am editing. Kind of like a super edit -> find from notepad++. Anyone have any suggestions?

Best, Pavan

3 Answers 3

2

One word. ack.

Sign up to request clarification or add additional context in comments.

3 Comments

I was introduced to ack ~6 months ago - not sure how I ever lived without it. (Actually I do know: with a cheap ack-wannabe Perl script I've been toting around for 10 years) Since then I haven't met a serious developer who was shown ack and didn't embrace it.
@beamrider9 Did you find it better than the find in files feature of notepad++?
@Pavan I don't know that app, sorry. My text editor of choice has a "find in files" also, but ack is a command line tool, which I find generally more useful in situations like this.
2

You can also try Agent Ransack

1 Comment

Checking it out now. Thanks NAVEED!
0

You can use a PHP ide such as NetBeans or your alternative is if you want to stick with notepad++ you can the Find in files which is located in the last tab when you hit CTRL+F

using NetBeans IDE you can lay your project out into a really decent code profiler and be able to see what your code is doing from a visual prospective.

1 Comment

Thanks dude. I just checked out the find in files thing and it rocks. Wish it did it right on the server, but I shouldn't be editing on the server anyway.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.