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

CompilerProvider: consider allowing to claim multiple file extensions #2372

Closed
evacchi opened this issue May 8, 2019 · 0 comments
Closed
Assignees
Labels
kind/enhancement New feature or request
Milestone

Comments

@evacchi
Copy link
Contributor

evacchi commented May 8, 2019

CompilerProviders can only claim one file extension, but some compilers may process more than one file types. This can be circumvented by creating one abstract class with the main logic, and then overriding handledExtension() in the subclasses, but it might be limiting.

Proposal: allow to return multiple handled extensions, or use a predicate of the form boolean handlesExtension(String ext)

@aloubyansky aloubyansky self-assigned this May 8, 2019
@aloubyansky aloubyansky added this to the 0.15.0 milestone May 8, 2019
@aloubyansky aloubyansky added the kind/enhancement New feature or request label May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants