codequery(1)

codequery1

Create codequery database

Usage

codequery

Examples

1. Change directory to the base folder of your source code like this:

cd ~/projects/myproject/src

2. Create a cscope.files file with all the source files listed in it (Use java as example here).

find . -iname "*.java" > ./cscope.files

3. Create a cscope database like this:

cscope -cbR

4. Create a ctags database like this:

ctags --fields=+i -n -R -L ./cscope.files

5. Run cqmakedb to create a CodeQuery database out of the cscope and ctags databases, like this:

cqmakedb -s ./myproject.db -c ./cscope.out -t ./tags -p

6. Open myproject.db using the CodeQuery GUI tool by running the following. Wild card search (* and ?) supported if Exact Match is switched off. Or use cqsearch, the CLI-version of CodeQuery (type cqsearch -h for more info).

codequery

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

This manual page was written by ChangZhuo Chen <[email protected]> for the Debian GNU/Linux system (but may be used by others).

From codequery 1.0.0+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.