This code does compile and run with mill, but intellisense shows error "object pwd is not a member of package foo.os bloop"
//main.scala
package foo
object Exercise{
def main(args: Array[String]): Unit = {
println(os.pwd)
}
}
//build.sc
import mill._, scalalib._
object foo extends ScalaModule {
def scalaVersion = "2.13.1"
def ivyDeps = Agg(
ivy"com.lihaoyi::os-lib:0.7.8"
)
}
I have metals vscode extension and it does recognize os-lib in project libraries. And it does show type for the os.pwd, but it still shows the error.