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.
https://ruben2020.github.io/codequery/
Mozilla Public License 2.0
685 stars 86 forks source link

codequery GUI tool should open DB files by command line argument #4

Closed ruben2020 closed 9 months ago

ruben2020 commented 11 years ago

It should also support spaced file paths in Windows.

brent-casavant-hpe commented 1 year ago

Just stopping by to add an upvote for this. I've used cscope for years and keep a cscope/ctags database per-branch of my git repository, and use a front-end script to select which database to use depending on which branch I currently have checked out.

I'm currently able to build a CodeQuery database in the same directory structure as I keep these per-branch cscope/ctags databases, but I'm unable to pass that database as an argument on the CodeQuery GUI command line. As a workaround my front-end script is rewriting the CodeQuery.conf [OpenDBHistory] section before starting the GUI. This works, but is a bit clunky.

ruben2020 commented 1 year ago

@brent-casavant-hpe Thanks. This sounds like a worthwhile feature to add and it's easy I think.

ruben2020 commented 10 months ago

@brent-casavant-hpe I have added the ability to open CodeQuery database files by command line argument to the GUI. It's codequery [path_to_CodeQuery_database_file_to_open]. It's on the develop branch.

ruben2020 commented 9 months ago

@brent-casavant-hpe Requested feature is now supported in v0.27.0.