| Summary: | Content assist get activated when it's not supposed to | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Sergey Prigogin <eclipse.sprigogin> |
| Component: | cdt-editor | Assignee: | Anton Leherbauer <aleherb+eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | Anton Leherbauer <aleherb+eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug |
| Version: | 8.0 | ||
| Target Milestone: | 8.0 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Good catch! Fixed in HEAD. *** cdt cvs genie on behalf of aleherbau *** Bug 344387 - Content assist get activated when it's not supposed to [*] CContentAssistProcessor.java 1.12 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CContentAssistProcessor.java?root=Tools_Project&r1=1.11&r2=1.12 |
To reproduce: In Content Assist preferences disable "." as a trigger, but enable auto-replace '.' with '->' for pointer types. in the following code struct A { int x; }; void test(A a) { } type a. inside the test method. Content assist gets activated although it's not supposed to.