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

Exclude certain files/folders #423

Open
Bananeweizen opened this issue Nov 11, 2019 · 1 comment
Open

Exclude certain files/folders #423

Bananeweizen opened this issue Nov 11, 2019 · 1 comment

Comments

@Bananeweizen
Copy link
Contributor

Have you ever thought about a kind of filtering to exclude some files and folders from the refactorings? E.g. we have some generated code (from EMF, Xtext, etc.) and I would like to exclude that one, instead of reverting it afterwards via git. I could imagine these:

  • regex on location (e.g. exclude ".-gen.")
  • regex on file content (e.g. ".generated by.")

For me the location based filtering would be sufficient.

@Fabrice-TIERCELIN
Copy link
Collaborator

The idea is good but I think I won't do it... As you can see, AutoRefactor is no longer planned to be released, it is planned to be merged in Eclipse, rule by rule. So all my efforts are focused on the business part of the plugin, not the User Interface. But you can do that if you want. I will merge it.

I also invit you to directly contribute to Eclipse instead of contributing to AutoRefactor. It would be straight forward. On those days, AutoRefactor is just an incubator for Eclipse.

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

2 participants