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

Allow standalone Twirl usage #270

Open
oxc opened this issue Apr 18, 2016 · 1 comment
Open

Allow standalone Twirl usage #270

oxc opened this issue Apr 18, 2016 · 1 comment

Comments

@oxc
Copy link

oxc commented Apr 18, 2016

Since Twirl is (for quite a while now) available as a standalone library, it would be nice if the plugin would support standalone usage, without requiring play libraries to be present on the classpath.

The main issue seem to be the default imports that cannot be overridden.

I managed to get the plugin to a somewhat usable state for standalone Twirl by providing mock objects for those imports, but of course that's an ugly workaround, especially since new imports keep getting added (for example #259).

@oxc
Copy link
Author

oxc commented Sep 29, 2016

In fact Twirl has been working on making its own imports even more flexible (see for example playframework/twirl#71), so it would be nice if the IDE wouldn't stand in the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant