D
D
DrunkMaster2016-09-26 18:05:56
PHP
DrunkMaster, 2016-09-26 18:05:56

How to find a variable in all project files?

I am writing a small project using the rather ancient PHP Designer 8 out of habit, it became necessary to find the name of one field in the database in all files, for example label_my and sometimes there is a need to look for variables. How quickly / optimally to do this if necessary?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max Medar, 2016-09-26
@DrunkMaster

Full-fledged IDEs can do this.
Or learn to work on the command line. I don't know how it is in the windows world, but in the Unix-like world there are a lot of utilities that do your job very easily: grep, ag, fzf, ask, ... lots of them. For example:
grep -r -n "label_my" ./

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question