Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`projectile-globally-ignored-directories' only ignores top level directory. #1119

Closed
introom opened this issue Feb 25, 2017 · 7 comments · Fixed by #1153
Closed

`projectile-globally-ignored-directories' only ignores top level directory. #1119

introom opened this issue Feb 25, 2017 · 7 comments · Fixed by #1153

Comments

@introom
Copy link

introom commented Feb 25, 2017

for a directory named "build".
only /build will be ignored, not /foobar/build

this is related to issue: #1041

@skrech
Copy link

skrech commented May 30, 2017

I'm using the last build from MELPA and the bug still persists. I'm trying to ignore all the "__pycache__" directories, however, I'm working on a lot of small projects and the .projectile file is not feasible solution for me (although it works).

@ambihelical
Copy link

Seems similar to #733

@vincekd
Copy link
Contributor

vincekd commented Jun 25, 2017

also experiencing this issue, and adding a .projectile file is not an option, as it is only used when the indexing method is native, which is too slow to use on a large code base. Either allowing .projectile files to work in alien mode or allowing projectile-globally-ignored-directories to use globs would work for me.

@vincekd
Copy link
Contributor

vincekd commented Jun 25, 2017

I have submitted a pull request that resolves this issue by the second method stated above.

#1146

bennyandresen added a commit to bennyandresen/projectile that referenced this issue Jul 21, 2017
projectile-globally-ignored-directories can now have entries with the format
"*/ignore". This allows for sub-directories to be omitted.

Example: using "*/.git" will not show the git objects if sub-directories are
also git repositories.

issue bbatsov#1119
@skrech
Copy link

skrech commented Jul 27, 2017

I've added */__pycache__ and *__pycache__ to projectile-globally-ignored-directories and rescan the project with C-u C-c p-f and __pycache__ folders are still showing. I'm on Windows.

@skrech
Copy link

skrech commented Jul 27, 2017

Unfortunately, that's not working either. :/

@vincekd
Copy link
Contributor

vincekd commented Jul 27, 2017

probably file a new bug with the exact steps (including versions) to replicate your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants