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

exclude dirs/files listed in .gitignore when create tag file #170

Closed t6ui closed 3 months ago

t6ui commented 3 months ago

I've come to understand that I can exclude directories when generating tag files using the command ctags --exclude=@/workspace/open/linux/linux-2.6.24/.gitignore -R. Is there a way to automate or customize this feature within the citre package?

masatake commented 3 months ago

ctags doesn't know the syntax of .gitignore. Because your ".gitignore" is not too complicated, ctags works as your expectation. See https://github.com/universal-ctags/ctags/issues/218.

t6ui commented 3 months ago

@masatake Ok, thank you!