| Summary: | Code completion fails in #include statements | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Dennis Schieferdecker <master_of_past_and_present> | ||||||
| Component: | cdt-editor | Assignee: | Marc-André Laperle <malaperle> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Anton Leherbauer <aleherb+eclipse> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | cdtdoug, malaperle | ||||||
| Version: | 8.0 | ||||||||
| Target Milestone: | 8.0 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Dennis Schieferdecker
Created attachment 191192 [details]
InclusionProposalComputer project container patch
container.getFolder(IPath) doesn't work for segments == 1, it needs to get a IProject instead.
Comment on attachment 191192 [details]
InclusionProposalComputer project container patch
This patch isn't quite right because you can type ../otherproject/ and get the wrong proposals.
Created attachment 191279 [details]
InclusionProposalComputer project container patch
New patch that fixes the wrong project issue.
Fixed in HEAD. *** cdt cvs genie on behalf of mlaperle *** Bug 339931 - Code completion fails in #include statements [*] InclusionProposalComputer.java 1.7 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/InclusionProposalComputer.java?root=Tools_Project&r1=1.6&r2=1.7 |