dragos / dragos-vscode-scala

Other
253 stars 39 forks source link

Unresolved imports for local packages #49

Open vuhrmeister opened 7 years ago

vuhrmeister commented 7 years ago

I get a lot of errors like:

[Scala] object xxx is not a member of package xx.xxx.xxx

If I open the required file once, then the import can be resolved (as long as VSCode is open).

Imports from inside the same package as well as global packages (like org.slf4j.LoggerFactory) are always resolved.

poitou commented 5 years ago

I am encountering the same issue... as well as a slight variation which is import of classes defined in java files that do not resolve even after opening the corresponding java file.

dragos commented 5 years ago

This is probably an issue with Ensime and the presentation compiler. I suggest checking the Ensime issue tracker