universal-ctags / citre

A superior code reading & auto-completion tool with pluggable backends.
GNU General Public License v3.0
326 stars 26 forks source link

Use an option file instead of `CITRE_CMD` pseudo tag to store the ctags command line #162

Closed AmaiKinono closed 5 months ago

AmaiKinono commented 9 months ago

For now, citre stores ctags command line in the tags file itself (using a CITRE_CMD pseudo tag), and parses it when updating the tags file. This:

Instead, citre should generate and use an option file, which is supported by ctags. It could be <project-root>/.ctags.d/0.ctags, or go into citre-tags-file-global-cache-dir if the user don't want their project dir to be polluted.

The --options option and FILES/Default optlib path list in the manpage may be useful.