JnRouvignac / AutoRefactor

Eclipse plugin to automatically refactor Java code bases
Other
176 stars 37 forks source link

Exclude certain files/folders #423

Open Bananeweizen opened 4 years ago

Bananeweizen commented 4 years ago

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:

For me the location based filtering would be sufficient.

Fabrice-TIERCELIN commented 4 years ago

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.