No autocomplete for inner classes
If you have an outer class and an inner class:
When giving a type annotation of "Outer#Inner", "Inner" is not in the autocomplete suggestions. Instead, the suggestions are full of many classes, none of which would compile if selected.
These other classes (eg "IncompatibleClassChangeError") should not show up in autocomplete, instead only "Inner" should.
class Outer {
class Inner
}
object TryIt {
val outer = new Outer
val inner: Outer# //<--- [ctrl+space]
}
When giving a type annotation of "Outer#Inner", "Inner" is not in the autocomplete suggestions. Instead, the suggestions are full of many classes, none of which would compile if selected.
These other classes (eg "IncompatibleClassChangeError") should not show up in autocomplete, instead only "Inner" should.
Leave a comment
on 2013-01-07 12:16 *
By Simon Schäfer
Component changed from None to Code Completion
Description changed from If you have an outer class ... to If you have an outer class ...