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

Add an option to exclude files and folders from index by mask #12

Closed
voronkovich opened this issue Sep 15, 2015 · 10 comments
Closed

Add an option to exclude files and folders from index by mask #12

voronkovich opened this issue Sep 15, 2015 · 10 comments
Assignees
Milestone

Comments

@voronkovich
Copy link

No description provided.

@mkusher
Copy link
Member

mkusher commented Sep 15, 2015

@voronkovich why do you need such functionality?

@mkusher mkusher self-assigned this Sep 15, 2015
@voronkovich
Copy link
Author

@mkusher, when I create an index for a Symfony project, padawan scans the app/cache directory.

@mkusher
Copy link
Member

mkusher commented Sep 15, 2015

@voronkovich thanks, nice case

@voronkovich
Copy link
Author

@mkusher, I think, you could add support for .gitignore files, or another files with the same format.

@mkusher mkusher added this to the 0.3 milestone Sep 15, 2015
@mkusher
Copy link
Member

mkusher commented Sep 21, 2015

@voronkovich I'm thinking about creating project files, e.g. .padawan-project.json or .padawan-project.yml with the structure like:

exclude:
 - "*/cache/*"
 - "*.cache"
plugins:
 - "mkusher/padawan-symfony"

have you any ideas about it?

@voronkovich
Copy link
Author

@mkusher, I think the yaml format would be more appropriate than json. Why not to use just a .padawan.yml (without project suffix) name for the project file?

@mkusher
Copy link
Member

mkusher commented Sep 21, 2015

@voronkovich Yeah, make sense

@cweagans
Copy link

It would be awesome if this was configurable from a plugin as well. For instance, if I write a Drupal plugin, it would be extremely cool if I could exclude modules that are not enabled from code completion.

@mkusher
Copy link
Member

mkusher commented Oct 23, 2015

@cweagans I need to think more about plugin api at all, because now it has very basic abilities.

@mkusher
Copy link
Member

mkusher commented Nov 14, 2015

#20

@mkusher mkusher closed this as completed Nov 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants