You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reports "cannot find symbol" for the Message class despite the Scala being there in Helper.scala:
package testscalaandjava {
object Helper {}
case class Message()
case class Alarm(txt: String)
}
The Helper object can be seen, but it seems that if the Scala type name does not match the Scala source file name, the references are not seen as valid by NB. The project builds fine in Maven.
By the way, despite this slight issue, I wanted to say "Thank You" for your work on this. It is very difficult to produce IDE plugins of this quality and this is a great piece of work. Please let me know if you need volunteers to test fixes for this issue.
The text was updated successfully, but these errors were encountered:
This is with NB 8.0.2, Oracle Java 8u25, Scala 2.11.8, Maven 3.2.1
This piece of Java:
package testscalaandjava;
import testscalaandjava.Helper;
import testscalaandjava.Message;
public class Main { }
reports "cannot find symbol" for the Message class despite the Scala being there in Helper.scala:
package testscalaandjava {
object Helper {}
case class Message()
case class Alarm(txt: String)
}
The Helper object can be seen, but it seems that if the Scala type name does not match the Scala source file name, the references are not seen as valid by NB. The project builds fine in Maven.
Full, hopefully minimal, test case attached.
tscala-tjava.tar.gz
By the way, despite this slight issue, I wanted to say "Thank You" for your work on this. It is very difficult to produce IDE plugins of this quality and this is a great piece of work. Please let me know if you need volunteers to test fixes for this issue.
The text was updated successfully, but these errors were encountered: