Skip to content

[Feature request] Add code highlighting for String interpolation in Scala  #3284

@jeanmarc

Description

@jeanmarc

I would like to know if it is possible to add highlighting of code that is part of Scala's string interpolation:

  val data = lines.map(_.toInt).sliding(2).toList
  println(s"We have ${data.size} pairs")

The part between ${ and } in a string that starts with s" should be highlighted as if it is actual code.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions