ScalaIDE for Eclipse: how can I autofill libraries?

When editing Java files, if I use autocomplete in a class that has not yet been imported, the editor offers the correct class and subsequently generates the import code. When editing Scala code, only native Java library classes can be supported.

Thanks to @fiction, at least I can write the class name and then use "Organize Imports" (Ctrl + Shift + o) or for this answer I can use a quick fix to create the import, but I would prefer to use autocomplete first , especially if there is a question about writing. Is this not supported, or is something inaccurate? (I already ran installation diagnostics with JDT content validation.)

I am using version 2.0.0.beta09-29-201107201639-529111d.

+6
source share
1 answer

A recent post on the ScalaIDE developer forum contains a preliminary roadmap, which, if I understand correctly, seems to indicate that this feature is not yet available, but should be deployed very soon (scheduled to be released in the next few weeks).

2.0 version: 1st week of September (optimistic)

...

  • completing the scope using all types in the classpath (can be done based on the Java search engine) - probably a "low hanging fruit"
+1
source

Source: https://habr.com/ru/post/895878/


All Articles