metals-feature-requests icon indicating copy to clipboard operation
metals-feature-requests copied to clipboard

Twirl template support

Open Miaourt opened this issue 5 years ago • 3 comments

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

Miaourt avatar Oct 17 '19 06:10 Miaourt

Thank you for reporting! Moving this issue to feature requests

olafurpg avatar Oct 17 '19 07:10 olafurpg

Oops, ty !

Miaourt avatar Oct 17 '19 07:10 Miaourt

After this PR (https://github.com/sbt/sbt/pull/7417), sbt server should start sending diagnostics to Twirl files.

adpi2 avatar Oct 25 '23 13:10 adpi2