-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
@import should be valid before the template signature #60
Comments
+1 it would be nice to maintain imports at the top |
I've searched for it but did not found it. I guess I didn't search very well. Sorry for making you waste your time. |
@pvlugter is there an easy way to tell which version of Play this got into? |
Looks like it's not in Play master yet: https://github.com/playframework/playframework/blob/master/framework/project/plugins.sbt |
Created playframework/playframework#3821 |
The commit that added top imports is in twirl 1.0.+. Available in Play 2.3 and 2.4 milestones.
|
Hmm, @pvlugter in that case the problem I'm seeing might be related to the Scala IDEA plugin (having |
@pvlugter this seems to be the case, and looks like there is already a ticket for it: https://youtrack.jetbrains.com/issue/SCL-8030 (sorry for time wasted, sometimes it's hard to tell where these problems lie). |
If @import was valid before the template signature one could have this:
Instead of this:
The text was updated successfully, but these errors were encountered: