How do I make intellij Idea to highlight Scala script correctly.
Attempt 1 change filename to 'test.sc' . Intellij does not like the first line i.e it is not valid scala comment syntax
Attempt 2 change filename to 'test.sh' . Intellij thinks all of the syntax is bash script.
filenName = ./test.sh
#!/usr/bin/env amm
import ammonite.ops._ , ImplicitWd._
println("Stop script")
val x = 1 + 1