Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Scala IDE has *.sbt syntax highlighting support?

I'm using Scala Ide 4.0.0-rc3 and for a new Play Framework application, I can't seem to get syntax highlighting enabled for *.sbt files. Do we have support for it in Eclipse yet?

Syntax Highlighting missing for *.sbt in Scala Ide

like image 341
Mozammel Avatar asked Dec 04 '14 08:12

Mozammel


1 Answers

As mentioned by @Mirko Stocker, this isn't currently supported. However, I've found that associating *.sbt with the JavaScript Editor produces decent highlighting

Configuration

Open Preferences and configure:

enter image description here

Result

The following shows an example sbt file after making the configuration above:

enter image description here

like image 180
btiernay Avatar answered Oct 15 '22 15:10

btiernay