Bug 310372 - [Content Assist]As I type / Automatic Completion
Summary: [Content Assist]As I type / Automatic Completion
Status: CLOSED DUPLICATE of bug 229924
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 6.0.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-24 13:41 EDT by Guillaume Massé CLA
Modified: 2010-11-02 09:22 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Massé CLA 2010-04-24 13:41:40 EDT
Build Identifier: M20100211-1343

In Visual C# with XNA there is a feature that really improve coding speed. Whenever you start to type, the "Content assist" suggest you word completion. I found a mac macro manager to repeat this feature, but I think it's so usefull that, it should be include in the content assist preferences. Something like: trigger content assist on typing. I think it should ignore comments lines and strings.

Reproducible: Always

Steps to Reproduce:
N/A
Comment 1 Guillaume Massé CLA 2010-04-26 11:14:06 EDT
I would like to do a contribution and make this enhancement myself. Someone is available as a tutor ?
Comment 2 Marc-André Laperle CLA 2010-07-11 18:33:54 EDT
Hi Guillaume, I think this would be a great enhancement! I'm not a committer nor do I have a lot of experience with this but if you need help with the basics of Eclipse development, I can probably help you.

You should read this page first:
http://wiki.eclipse.org/Getting_started_with_CDT_development

I imagine the required changes would be in the project org.eclipse.cdt.ui. I see a package org.eclipse.cdt.ui.text.contentassist and the internal one org.eclipse.cdt.internal.ui.text.contentassist. It might be good places to put breakpoints and see what's going on. If you make any progress, post a patch and I'll be glad to test it and check the code. Having patches and discussions gets the attention of committers (better help!).

Cheers
Comment 3 Remy Suen CLA 2010-11-02 08:43:23 EDT
Does CDT have the "workaround" feature of picking auto-activation characters (bug 159157)?

There is also bug 101420 for the general issue with Eclipse text editors.
Comment 4 Anton Leherbauer CLA 2010-11-02 09:22:08 EDT
(In reply to comment #3)
> Does CDT have the "workaround" feature of picking auto-activation characters
> (bug 159157)?

No, but this should be easy to add.

*** This bug has been marked as a duplicate of bug 229924 ***