universal-ctags / citre

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

trouble populating .tags #124

Closed tsengf closed 2 years ago

tsengf commented 2 years ago

When I run citre-create-tags-file, it brings me to a buffer that allows me to customize the ctags command.

ctags -o %TAGSFILE% --languages=C,C++ ;; programming languages to be scanned --kinds-all= --fields= --extras=* -R ;; add dirs/files to scan here, one line per dir/file

With C-c C-c, I notice that the source files are not indexed, and I end up with more or less an empty .tags file. The comment ";; programming languages to be scanned." seems to be causing this. When I remove this comment, the source files are properly indexed.

AmaiKinono commented 2 years ago

Duplicate of https://github.com/universal-ctags/citre/issues/123.

Please update to the latest version, delete the generated tags file and try again. It will work.

tsengf commented 2 years ago

I did a clone last night which should be up to date right?

AmaiKinono commented 2 years ago

Did you delete the previously created tags file?

tsengf commented 2 years ago

Sorry, my mistake. I encountered this with the citre package that was downloaded automatically by Emacs. Thanks.

AmaiKinono commented 2 years ago

;) glad to hear that. Have fun with Citre!