Scala Console classpath doesn't recognize project code

I am trying to use the Scala Console. When I right click on a class in my project and open the console for editing, I am unable to use classes from my project. If I import something from my project

import com.mycompany.Myclass._

I get an error:

scala> <console>:8: error: object mycompany is not a member of package com

I haven't been able to use any class that is not part of the standard scala classpath. Is there anything I can do to get this to work as expected?



Please sign in to leave a comment.