Full path is necessary when ignoring patterns with .projectile
Opened this issue · 19 comments
I think #625 may be related.
I am trying to ignore files using their extensions as such:
-*.tsv
-*.xlsx
But I can still find the files using projectile-find-file
, helm-projectile-find-file
and helm-projectile-ag
(projectile-ag
gives me "projectile-ag: Ag is not available").
I have tried with different files which have different permissions applied.
However the following .projectile file will work as expected:
-/path/to/tsv/files/*.tsv
-/path/to/xlsx/files/*.xlsx
I'm afraid not. I still can see the ignored files with projectile-find-file
and helm-projectile-find-file
. But helm-projectile-ag
seems to be accurate.
i am also seeing this on projectile version 20150620.1532, emacs version 24.4.1 on Debian. i am trying to ignore images with
-*.png
-*.gif
etc..
Same here. It's a problem with temporary files, as I can't have -*~
:[
Looking at the code, I see that when indexing with 'alien/external mode, (projectile-filtering-patterns) is never called.
ie.
projectile-dir-files-native will call it, but projectile-dir-files-external does not
projectile-dir-files (which calls -native or -external) will call projectile-adjust-files, which I think will filter out files (things with paths) but not patterns.
Solution may be to have projectile-adjust-files also deal with patterns.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
I’m still interested :)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
Still an issue IIRC
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
Welp.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
Welp.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
beep boop
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
Welp.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
Welp.