Fix twirl views that were messed up by IntelliJ #12648
hertg
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are numerous bugs in IntelliJ when it comes to
.scala.html
Twirl views. I lost a lot of time manually fixingviews that have been messed up by IntelliJ refactoring and code format. I automated that task today out of frustration.
If you are also affected, please upvote and/or comment on the issue here:
https://youtrack.jetbrains.com/issue/SCL-21757/Twirl-Templates-Will-they-ever-be-supported-again
In the meantime, maybe this python script will save you some time:
https://github.com/hertg/twirl-intellij-fix
Beta Was this translation helpful? Give feedback.
All reactions