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

Twirl template support #50

Open
Miaourt opened this issue Oct 17, 2019 · 3 comments
Open

Twirl template support #50

Miaourt opened this issue Oct 17, 2019 · 3 comments

Comments

@Miaourt
Copy link

Miaourt commented Oct 17, 2019

Describe the bug
Currently, on a Play Framework project, filename.scala.html aren't recognized as Scala files, and support for GoTo, Linting, etc, is broken.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Play Framework project
  2. Start using template file for your frontend

Expected behavior
Support for metals into theses files

Installation:

  • Operating system: Linux
  • Editor: Visual Studio Code
  • Metals version: v0.7.6

Search terms
Twirl, Java Templates, Play Framework, .scala.html

@olafurpg
Copy link
Member

Thank you for reporting! Moving this issue to feature requests

@olafurpg olafurpg transferred this issue from scalameta/metals Oct 17, 2019
@Miaourt
Copy link
Author

Miaourt commented Oct 17, 2019

Oops, ty !

@adpi2
Copy link
Member

adpi2 commented Oct 25, 2023

After this PR (sbt/sbt#7417), sbt server should start sending diagnostics to Twirl files.

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

3 participants