When editing Java files, if I use auto-complete on a class that hasn't yet been imported, the editor proposes the correct class and subsequently generates the import code. When editing Scala code, the only native Java library classes appear to be supported.
Thanks to @fiction, at least I can write the name of the class and then use 'Organize Imports'(Ctrl+Shift+o) , or per this answer I can use quick fix to generate the import, but I'd much prefer to use autocomplete in the first place, especially if there's a question about spelling. Is this unsupported, or is something configured something wrong? (I've already run Setup Diagnostics with JDT content-assist checked.)
I'm using version 2.0.0.beta09-29-201107201639-529111d.
A recent message on the ScalaIDE developers forum lists a tentative "roadmap," which if I understand correctly, seems to indicate that this feature is not yet available, but should be deployed very soon (planned to be released in the next few weeks).
2.0 version: 1st week of September (optimistic)
...
- scope completion using all types in the classpath (can be done based on the Java search engine) -- probably a 'low hanging fruit'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With