incremental search |
Guru master
|
In the workspace or the explorer view, right click on the root of the project/directory you wish to search in and then pick "Search in files" from the menu.
It works just like the regular search but outputs all hits to the log-window. Doubleclicking a resultline in the log opens the appropriate file and jumps to the correct line. Hope that helps. |
||||||||||||
|
|
aloha,
I'm sorry, I think I couldn't tell exactly what I ment. Maybe best is an example File a:
I have lots of files like "a" with hundreds of variable definitions (and nothing else) in that files (think of like an language-file) Now I would like to search each of these variables if it is used (and where) throughout the project. Surely "search in files" works as expected, but only for "$var1". I have to start the search for every single $var After month or years of developing a project you have tons of non-used variables. Eclipse for java for example has such a feature, it automatically marks non-used variables. Maybe I should have called the topic like that, stupid me m* edit: just found this: code-analysis-t3129.html hopefully dmitri ment this to come with the next build |
||||||||||||||
|
Site Admin
|
no, it's not a short-term feature and may not come with the next build, yet.
Although, you may want to run lookup for variables in Code Insight database created for your project. See <projectname>.ppx file. It's an xml that holds all scripts parsed. You may use any xml-aware tools or just a regular text editor. |
||||||||||||
_________________ The PHP IDE team |
incremental search |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by