Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344387 - Content assist get activated when it's not supposed to
Summary: Content assist get activated when it's not supposed to
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Anton Leherbauer CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-01 00:08 EDT by Sergey Prigogin CLA
Modified: 2011-05-02 04:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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