Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344387

Summary: Content assist get activated when it's not supposed to
Product: [Tools] CDT Reporter: Sergey Prigogin <eclipse.sprigogin>
Component: cdt-editorAssignee: 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:

Description Sergey Prigogin CLA 2011-05-01 00:08:19 EDT
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.
Comment 1 Anton Leherbauer CLA 2011-05-02 03:58:19 EDT
Good catch!  Fixed in HEAD.
Comment 2 CDT Genie CLA 2011-05-02 04:23:03 EDT
*** 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