Closed devjoe closed 8 years ago
Hmm, you can filter queries by language (see https://github.com/eapache/starscope/blob/master/doc/USER_GUIDE.md#queries) but I don't think you can filter exports that way.
You could probably pass an appropriate pattern when building the database in the first place; for a fresh database, starscope **/*.rb
should pick up only ruby files, for example.
Thank you very much. Now my plugin supports Javascript, Ruby and Go. 😎
Dear @eapache ,
I am working on an unreleased Vim plugin vim-codequery. It requires your elegant starscope to export its database to ctags and cscope files for further use.
The problem I faced is that it does not support to parse specific language files only or export its database by language separately. I tried
--exclude
option, but I can not figure out how to compose a pattern to parse individual language files. (Did I miss something ? 😕)Is it possible to add an option such as
starscope --lang ruby -e ctags
to index individual language files and then export it only?