Indexing and searching for content in a project folder

Every time I try to find a variable or string or some text in my codes (in the project folder), I have problems. I don’t seem to know any easy methods for this.

I was wondering if there is any tool that indexes the specified folder (in my project folder) and real-time updates (with update codes). Also, you can easily find any line (which file / s in this project folder contains this line)?

Is there any support or bult-in plugin for Eclipse or Netbeans? (since both of these IDEs index all codes, so they should be)

Thanks in advance.

+3
source share
2 answers

exuberant ctags does the desired indexing. I would suggest that plugins exist for many IDEs (it works with vim, and that’s all I use).

In this general case, I just use ack from the command line. This is a fairly fast grep-like tool, well suited to code. It also has plugins for various IDE / text editors.

These are fairly minimal unix-style solutions, but I found them to satisfy most of the needs that I have even in large, complicated projects.

+1
source

Since Netbeans 6.5 you have a quick search panel (mainly in the upper right corner) that searches in the project folder (and more).

0
source

Source: https://habr.com/ru/post/1710889/


All Articles