Closed thegeorgeous closed 9 years ago
PE becomes extremely slow if there are too many files in the project. I did the dirty trick to omit ignored files.
If somebody where to write a function that would process .gitignore
format, I would be quite happy to include it.
Probably it would be easier to run git check-ignore **/*
in repository root dir and process it's output.
Also seems that this task is related to #31 .
Yes, that should work
I've pushed an implementation on devel
. To try it set pe/omit-gitignore
to non-nil.
Works for me as expected. Thanks!
one note: when I'm reindexing project there are a lot of noisy messages about ignored files, so maybe it's better to remove message
call from pe/file-interesting-p
Fixed
Great job.
The changes have been pushed on master.
ATM there is
pe/omit-regex
, and you can advice/redefinepe/file-interesting-p
for more complex scenarios. I have nothing against the feature, but I don't think I'm going to implement it in the foreseeable future.