projectile icon indicating copy to clipboard operation
projectile copied to clipboard

Full path is necessary when ignoring patterns with .projectile

Open angrybacon opened this issue 10 years ago • 19 comments

I think https://github.com/bbatsov/projectile/issues/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

angrybacon avatar May 11 '15 09:05 angrybacon

Does https://github.com/bbatsov/projectile/pull/775 solve this for you?

bbatsov avatar Jun 19 '15 15:06 bbatsov

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.

angrybacon avatar Jun 19 '15 15:06 angrybacon

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..

imtayadeway avatar Jul 30 '15 00:07 imtayadeway

Same here. It's a problem with temporary files, as I can't have -*~ :[

vendethiel avatar Feb 18 '16 15:02 vendethiel

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.

smolyn avatar Oct 12 '16 21:10 smolyn

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!

stale[bot] avatar May 08 '19 17:05 stale[bot]

I’m still interested :)

vendethiel avatar May 08 '19 18:05 vendethiel

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!

stale[bot] avatar Aug 07 '19 01:08 stale[bot]

Still an issue IIRC

vendethiel avatar Aug 07 '19 06:08 vendethiel

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!

stale[bot] avatar Feb 03 '20 06:02 stale[bot]

Welp.

vendethiel avatar Feb 03 '20 09:02 vendethiel

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!

stale[bot] avatar Aug 01 '20 10:08 stale[bot]

Welp.

vendethiel avatar Aug 01 '20 13:08 vendethiel

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!

stale[bot] avatar Feb 02 '21 04:02 stale[bot]

beep boop

vendethiel avatar Feb 02 '21 11:02 vendethiel

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!

stale[bot] avatar Aug 22 '21 18:08 stale[bot]

Welp.

vendethiel avatar Aug 22 '21 19:08 vendethiel

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!

stale[bot] avatar Apr 16 '22 10:04 stale[bot]

Welp.

vendethiel avatar Apr 16 '22 11:04 vendethiel