| Summary: | [1.9][content assist] Type proposals not shown in module-info.java | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Noopur Gupta <noopur_gupta> |
| Component: | Core | Assignee: | Manoj N Palat <manoj.palat> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | daniel_megert, manoj.palat |
| Version: | 4.7 | ||
| Target Milestone: | BETA J9 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/87915 https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=3f8baad9d49667122f402f189245d51dd82af612 |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 480612 | ||
In my example, even if I add the interface, I get an error that it can't be resolved. Have /First Module/src/api1/IColorProvider.java in /First Module/src/module-info.java add uses api1.IColorProvider; The same is applicable to "provides/with" also. Have a class p.C which implements "Driver" and press Ctrl+space:
module PTest {
requires java.sql;
provides java.sql.Driver with p.C|
}
New Gerrit change created: https://git.eclipse.org/r/87915 Gerrit change https://git.eclipse.org/r/87915 was merged to [BETA_JAVA9]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=3f8baad9d49667122f402f189245d51dd82af612 (In reply to Eclipse Genie from comment #4) > Gerrit change https://git.eclipse.org/r/87915 was merged to [BETA_JAVA9]. > Commit: > http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/ > ?id=3f8baad9d49667122f402f189245d51dd82af612 issue reported in comment 2 is fixed by the commit above - Rest of the issues were addressed by bug 509050 commit 4 already - when we moved to support the new grammar which included some major changes in the algorithm for the completion. Specific scenarios supported are listed in bug 509050. |
P20161024-2040 1) Press Ctrl+space in place of '|' => no proposals are shown. module PTest { uses java.sql.Dr| } It works when a semicolon is added: uses java.sql.Dr|; 2) No proposals are displayed here: uses java.sql.|;