dragos-vscode-scala icon indicating copy to clipboard operation
dragos-vscode-scala copied to clipboard

Unresolved imports for local packages

Open vuhrmeister opened this issue 8 years ago • 2 comments

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.

vuhrmeister avatar Jul 13 '17 12:07 vuhrmeister

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.

poitou avatar Jun 06 '19 09:06 poitou

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

dragos avatar Jun 06 '19 12:06 dragos