Replies: 4 comments 3 replies
-
@mickaelistria @rgrunber @testforstephen @vogella @jdneo Please provide your ideas as well. |
Beta Was this translation helpful? Give feedback.
-
@Eskibear Is this the case where intelliCode can help? |
Beta Was this translation helpful? Give feedback.
-
I believe it's an occurrence of https://bugs.eclipse.org/bugs/show_bug.cgi?id=567556 . |
Beta Was this translation helpful? Give feedback.
-
I think we can move the main chain completion logic into jdt.core.manupalation module. Then reuse it in jdt.core. At the same time we can use it in jdt.ls when the completions are triggered CompletionTriggerKind.Invoked. Also we could try to find chain completions are returns them for CompletionTriggerKind.TriggerForIncompleteCompletions, But we could just start with CompletionTriggerKind.Invoked first. I also look into making the JDT Completion Computer UI free code. But I think thats a huge under taking. We could do a better extension point or similar in jdt.ls if we think from scratch. Thats my person view. What do you all think ? |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I have a small idea we could easily make JDT completions more smarter. To explain my idea I will take the following example
Now at this place, the completion engine doesn't provide much help to the developer unless they type
Collectors.
. So what if we can tell the CompletionEngine to look at some class's accessible members that might match the target parameter ?So in this case if we can tell look into
Collectors
class, that will result in some good suggestions. And in vscode this will be more refined by the microsoft intellicode ranking.So to do that, I suggest we introduce a new settings similar to favorites to hold such classes as a simpler solution.
WDYT ?
Beta Was this translation helpful? Give feedback.
All reactions