Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] a suggest about content assistant

I thought that putting methods from a declared type first before superclass methods was a good idea so I went ahead and implemented it, here: https://github.com/Overruler/eclipse.jdt.core

I think the easiest way to try it out would be by building it as part of Eclipse Java 8 Early Access plugins, from here: https://github.com/Overruler/eclipse-java8

As an implementation note, it turns out the implementation of this feature only requires removing one half of one _expression_ in an if-statement on line 8668 in CompletionEngine.java. The trouble with using a completion sorter for something like this is that by the point all interesting relevance calculations have been done and done and collapsed into one integer value. Adjusting that value within a sorter might require re-implementing a lot of the same functionality as CompletionEngine does for a second time.





Sent from Windows Mail


Back to the top