ruben2020 / codequery

A code-understanding, code-browsing or code-search tool. This is a tool to index, then query or search C, C++, Java, Python, Ruby, Go and Javascript source code. It builds upon the databases of cscope and ctags, and provides a nice GUI tool.

Home Page:https://ruben2020.github.io/codequery/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"-c" with different language classes

andrecbarros opened this issue · comments

It is actually a wish.

I have some projects with mixed python, c and c++ files. Since python is processed by pycscope and c/c++ is processed by cscope (besides ctags) it is a bit cumbersome to combine all things in just one database file (I need to parse and combine the cscope files before right now). It would be easier and way more practical if it was possible to cqmakedb to accept multiple -c (and also -t) input. Right now it doesn't.

Another thing that would be wonderful is if we could set a base path for files with relative paths.

And as a last wish (I know, too many wishes), it would be great if on filters we could put ';' to separate file extensions.

Anyway, nice app, thanks for sharing.

commented

Hi @andrecbarros, these are very good use cases that I personally don't use, especially combining several cscope.out files. I will look into adding these. Thank you for your support.

I guess, my case is becoming more frequent as I see more projects mixing '.c' with 'something else'.

Thanks in advance.

commented

@andrecbarros I was wondering if I can simply append different cscope.out contents into one CodeQuery database, but the base path wouldn't be the same. That's the problem.