noklesta / SublimeQuickFileCreator

Quick File Creator plugin for Sublime Text
64 stars 26 forks source link

creating list of dirs is slow / exclusion mechanism inflexible #5

Closed schnittchen closed 8 years ago

schnittchen commented 11 years ago

Hi,

first of all, I'd LOVE to use this plugin regularly as it really should speed up my workflow. However, I'm working on a project with a lot of directories and it takes up to 20secs to build the list of directories.

I had a look at the way the exclusion mechanism works and it would not be a solution for this problem: I am unable to exclude deep directories from one of the project directories (like 'root/nested/dir'), because the pattern match happens only on the last segment ('dir').

In addition, it would be awesome if the exclusion could optionally leverage the patterns already configured for the user's version control system, i.e. if there's a .gitignore in one of the root directories, optionally use this for directory exclusion below that path.

phaneendra commented 11 years ago

No support for .gitignore yet even after fixes. Will have to look into that some other time.

noklesta commented 11 years ago

@schnittchen the ability to exclude deep directories was introduced by @phaneendra's pull request that I just merged. However, I'm leaving the issue open since it doesn't solve the .gitignore part, as @phaneendra mentioned.

SeanRoberts commented 11 years ago

This probably isn't helpful at all, but I've noticed that excluding some of the larger directories still doesn't speed things up.

hum-n commented 9 years ago

@SeanRoberts Same thing for me.