Community
Participate
Working Groups
Whenever Code Recommenders (CR) is enabled, it's impossible to get module completion, there are 0 results. eg: module demo { requires jav| //No default proposals } When CR is disabled, module autocompletion is back, working as expected. Tested with CR 2.5.0 (Oxygen 2) and 2.5.1 (Photon M4)
Thanks for the excellent bug report, Fred. I'll try to reproduce.
(In reply to Andreas Sewe from comment #1) > Thanks for the excellent bug report, Fred. I'll try to reproduce. I can reproduce, even with all session processors except the Base-Relevance Processor disabled.
(In reply to Andreas Sewe from comment #2) > (In reply to Andreas Sewe from comment #1) > > Thanks for the excellent bug report, Fred. I'll try to reproduce. > > I can reproduce, even with all session processors except the Base-Relevance > Processor disabled. OK, the problem seems to be in or near our ProposalCollectingCompletionRequestor, which doesn't collector the module proposals. Interestingly, JDT's FillArgumentNamesCompletionProposalCollector by default ignores all proposals whereas JDT's CompletionProposalCollector doesn't, so choosing the latter by disabling "Fill Method Arguments and show best guessed arguments" in Java > Editor > Content Assist causes the module proposals to show up -- but triggers Bug 528937 elsewhere. :-(
New Gerrit change created: https://git.eclipse.org/r/114392
New Gerrit change created: https://git.eclipse.org/r/114437
(In reply to Eclipse Genie from comment #5) > New Gerrit change created: https://git.eclipse.org/r/114437 This fix, slated for Code Recommenders 2.5.1 allows completion of module references as in comment 0. There is still a bug, however, that prevents completion of module *declarations*: module <ctrl+space> See Bug 528981 for details. (TL;DR: Bug 528981 be fixed automatically when JDT publishes the fix for Bug 528954.)
Gerrit change https://git.eclipse.org/r/114437 was merged to [maintenance]. Commit: http://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/commit/?id=c027fdf35766bededfcb63c54e6f70b41e7a6297
(In reply to Eclipse Genie from comment #7) > Gerrit change https://git.eclipse.org/r/114437 was merged to [maintenance]. > Commit: > http://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/commit/ > ?id=c027fdf35766bededfcb63c54e6f70b41e7a6297 @Fred: I have promoted a milestone with the fix (sans Bug 528981), if you want to do much appreciated some testing: <http://download.eclipse.org/recommenders/updates/maintenance-milestones/>