devjoe/vim-codequery

Locations of qf result are sometimes wrong.

devjoe opened this issue · 0 comments

➜  requests git:(master) ✗ cqsearch -s myproject.db -p 1 -t "proxy_ip" -f
proxy_ip    utils.py:543    for proxy_ip in no_proxy :
proxy_ip    utils.py:544    if is_valid_cidr ( proxy_ip ) :
proxy_ip    utils.py:545    if address_in_network ( ip , proxy_ip ) :
proxy_ip    utils.py:547    elif ip == proxy_ip :

As shown above, the second column contains only file name and line information without a relative/absolute path.

cqsearch should provide some options such as "-l" or "-u" to output full file path.