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

Insert additional symbols from ctags file for parsing html/js #73

Open teungri opened 6 years ago

teungri commented 6 years ago

I use codequery in combination with other ide (vscode). codequery is very good in browsing through code base.

Currently parsing a tags file (with cqmakedb) results in only adding additional class inheritance / members to the database.

I am currently working in web environment, c#, html, js, angular and would like also to browse html/js files. Therefore I adapted cqmakedb so that additional symbols found in the tags file will be added to the db. I attached the sw changes a made + the ctag optons for correctly parsing html/js

changes to cqmakedb: codequery_ea686136c2a36a313a4ec64c1d23ab0da7b38880_changed.zip

ctag options for parsing html/js: ctags_options_web.txt

ruben2020 commented 4 years ago

Hi @teungri, Sorry. I missed this issue. I'll take a look and try to merge this change. It would have been easier if you generated a pull request - but that's ok. Thank you.

ruben2020 commented 4 years ago

I have to currently leave out these changes at the moment, because I don't know the effect it has on the other languages. Also the single character types from tags file cannot be dumped into the database, as it has different meaning to what cscope defined.