[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] Add Include autotriggering
|
Hi Tomasz,
we never had an implementation for this feature, the
preference was commented out because it was not used.
In the beginning, the content assist preferences have been
cloned from JDT, which also explains the
wording 'content_assist_add_import'.
Markus.
Hello,
I've found some traces of a feature which would "add
includes on code assist", as in - I assume - trigger the "Add Include" action
when the user selects anything from CA; something similar to automatic
addition of Imports in JDT.
There is some commented code about this in
several places. For example, you may see /org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/ContentAssistPreference.java:65:
//
/** Preference key for adding includes on code assist (unused) */
//
public final static String ADD_INCLUDE=
"content_assist_add_import";
//$NON-NLS-1$
This preference was apparently removed from the
Preferences page around 24-01-2007. This is quite some time; we should note
that both Context Assist and (especially) Add Include have evolved a lot since
then.
One of the points of my GSoC is to implement
a similar feature in CDT (see bug 319175).
I'd like to ask:
- Was this feature functional in CDT at some
time?
- If so, why was it removed?
- Who used to work on
it?
Best regards,