scala.tmbundle
scala.tmbundle copied to clipboard
TextMate bundle for the Scala programming language
Hi, When you use a **stroke** in quoted code, the syntax will be highlighted with a wrong color. Here is an example: ``` scala def main(args: Array[String]) { val result...
Hi! The `#::` operator (method) is used for concatenating [Streams](http://www.scala-lang.org/api/2.11.8/#scala.collection.immutable.Stream), but it's not highlighted correctly: ``` scala lazy val oddNumbers: Stream[Int] = 1 #:: oddNumbers.map(_ + 2) ```
This is not highlighted properly (everything following the single quote is highlighted as an error): ```scala s"${"'"}" ``` It's valid Scala: ``` scala> s"${"'"}" res1: String = ' ```
Hi, Github uses this tmbundle for rendering scala code - I noticed that there seems to be an issue with highlighting: e.g. https://github.com/twitter/util/blob/master/util-core/src/main/scala/com/twitter/util/Future.scala OsX 10.10, Chrome version 38.0.2125.122 - 10.10
In Mac OSX Mavericks: ``` bash $ cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/ $ git clone git://github.com/mads379/scala.tmbundle.git ``` Sublime Text error: Error loading meta info: Expected key scope What could be...
The plugin is installed and snippets work. SCALA_HOME is set. 'Apl' R shows compile errors. However, it doesn't show the output. Scala -v 2.9.2
In the language grammar the following language rule is defined in such a way that it misses primitive types inside the parameter list and scopes them as an entity.name.class instead...
If you have a one-liner method it will just keep going and read params until it hits a {