Invalid completion variant for java references

val file: File = new File("/some/path")
file.<caret> // invoke code completion here


When invoking code completion in the fragment above, the variant "LazyInitialization" is included.
This is a private nested class of java.io.File. This variant is not suggested when invoking the same code completion in the Java editor.
The behavior clutters code completion a bit. Should I file a ticket?

2 comments
Comment actions Permalink

Yes, it's completion ticket. Private members should be filtered in completion.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

I did not find an existing ticket for this issue (although there's a related issue: http://youtrack.jetbrains.net/issue/SCL-1533), so I created a new one: http://youtrack.jetbrains.net/issue/SCL-2126

0

Please sign in to leave a comment.