yongkangchen / atom-ctags

better autocomplete for atom, using ctags
https://atom.io/packages/atom-ctags
MIT License
87 stars 35 forks source link

Cmd Args exclude not working #165

Open zisiszikos opened 8 years ago

zisiszikos commented 8 years ago

I'm using this exclusions for Cmd Args settings:

--exclude=node_modules --exclude=.sass-cache --exclude=.ebextensions --exclude=.elasticbeanstalk --exclude=.git --exclude=app/build --exclude=app/views --exclude=app/logs --exclude=tasks --exclude=app/public

but it doesn't seem to exclude those folders.

Even when I delete the .tags file it continues to give me results, including those folders.

Is there some sort of cache that is used? Why it keeps generating results for those excluded folders?

franklinrt commented 7 years ago

This is a little old, but I was having the same issue. I looked in my .tags file and noticed the full path was being included. So in order to exclude, you need the full path.

Once I changed my Cmd Args to exclude based on the full path, it worked.