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
680 stars 86 forks source link

Field text truncated in SQL database #58

Closed Tupperware69 closed 7 years ago

Tupperware69 commented 7 years ago

I am seeing function call text truncated in the SQL database (limit 80 chars?) when compared to cscope.out. Can this be extended/removed? I didn't see anything obvious in the source code.

ruben2020 commented 7 years ago

Hi @Tupperware69 You are right. It can be extended or removed. I'll look into it. Thank you for the request.

ruben2020 commented 7 years ago

Fixed in the develop branch. However, the CLI cqsearch still truncates to 80 characters unless you use the new -l option in the argument.

ruben2020 commented 7 years ago

Now officially released in v0.19.0. This would also be of interest to @devjoe who uses cqsearch for vim-codequery. cqsearch still truncates to 80 characters by default in order to maintain backward compatibility. But there is a new -l option in the argument to make it unlimited or set a limit. In CodeQuery GUI, there is no limit.