Does the Scala IDE support .sbt syntax highlighting?

I am using Scala Ide 4.0.0-rc3 and for the new Play Framework application, I cannot force the syntax highlighting to include * .sbt files. Do we have support in Eclipse?

Syntax Highlighting missing for * .sbt in Scala Ide

+6
source share
2 answers

As @Mirko Stocker mentioned, this is not currently supported. However, I found that combining *.sbt with a JavaScript editor provides decent highlighting.

Configuration

Open "Settings" and configure:

enter image description here

Result

Below is an example sbt file after configuring above:

enter image description here

+6
source

No, this is not yet implemented. There, the project provides better integration of sbt in Eclipse , but it is mainly focused on creating and importing projects. If you use the assembly definition .scala, then sbteclipse is supported .

0
source

Source: https://habr.com/ru/post/979097/


All Articles