This is a known bug in the NB plugin. There are two ways to remove this error.
Right click inside any window with Scala code (i.e. any window with a .scala file open). Select "reset Scala parser". Then click on any other window and back to your scala code. The error should disappear
Restart the IDE.
This works for me in NB 6.8 on Windows. I assume the same would work on a Mac with NB 6.9.
There is a third option to just ignore this error (as it is only in the IDE but does not occur during compile).
- Netbeans scala plugin problem , classes underlined with red line
- Compilation Issue with Scala Netbeans Plugin
- Netbeans scala plugin problems with ant
- Java 6 classes when 1.7 is configured in Intellij/maven with scala plugin
- Case Classes with optional fields in Scala
- Scala case classes with Mixin traits
- Netbeans scala plugin - no documentation
- Problem with outputting map values in scala
- pom configuration to force usage of jvm 7 with scala maven plugin
- Play 2 Scala - Best way to upload a big CSV file with Iteratee in order to process each line reactively
- How to setup sbt/scala/play multi-module project which will work fine with Intellij scala plugin
- Scala object private scope with inner classes and methods
- How to use my classes from Scala worksheet in IntelliJ CE with Scala plugin?
- Scala Case Classes vs. Protocol Buffers with Akka over the network
- Problem with bounded type parameterised case class and default args in Scala
- Conditional methods of Scala generic classes with restrictions for type parameters
- Will it be possible to generate several top-level classes with one macro invocation in scala 2.10?
- How do I pull apart Case Classes filled with Options in Scala
- Polymorphism with Scala type classes
- XML equality problem with Scala
- Problem with given instances writing MTL style code with Scala cats
- Problem with Scala matching + scope
- Is there scala plugin compatible with Spring Source Tools Suit?
- How to reference subclasses of static Java classes with generics in Scala
- How to run Scala 3 applications in the command line with Coursier
- Scala parameterized type problem with returning an instance of the same type
- Scala reflection, finding and instantiating all classes with a given annotation
- Scala Macro: Create new classes with Option types
- ColumnNotFound problem with Magic in play scala
- 2 Extension Methods with the same name in different classes do not work in Scala 3?
More Query from same tag
- Verifying the existence of a number in a Play Scala form
- Spark Hbase : How to convert a dataframe to Hbase org.apache.hadoop.hbase.client.Result
- Evolution not seen
- How do I groupBy on a SchemaRDD
- How to call the correct method in Scala/Java based the types of two objects without using a switch statement?
- Play Framework: Gzip compression/decompression of data over WebSocket
- scala AST Select node can't find members inherited from parent
- Launch a Scala Swing app on Windows without command window
- Scala: how to upsert field value in Monocle
- Using "next" in an "iterator" and getting type mismatch error
- How to apply a function to every string in a dataframe
- Can I force scala to error on an inexhaustive match?
- scala: check presence and absence of certain types in List
- update column of set type in Cassandra row
- Consequences of message order semantics in Akka's Actors vs. Erlang's Actors
- How to generate all possible key-value combinations between a String and Array[String]
- What is the use of yield in Scala over map?
- Different ways of building typeclasses in Scala?
- Why is a to `Any` casted `String` object no more considered as String (while the other way round it is)?
- process RDD based on condition in SPARK scala
- How to make tree implemented in Scala useful with higher-order collection functions?
- ScalaTest - java.lang.IncompatibleClassChangeError: Implementing class
- Where clause in Spark with between for element in array of struct?
- Why does a class body affect implicit resolution?
- IntelliJ: Scala worksheet don't pick up code changes without restart
- Find sublist using pattern match
- Parse nginx rewrite rules to extract from and to
- Scala: Most concise conversion of a CSS color string to RGB integers
- Scala inner case class in subclass parameter compilation error
- Reuse property with version number when adding a dependency in sbt