[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] CDT project view: How to programatically update the directories shown below 'Includes'?
|
The C/C++ Projects View is unmaintained and should be removed when we do our next major release some time in the future. We have switched to the common Project Explorer.
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On
> Behalf Of Martin Weber
> Sent: Monday, November 20, 2017 3:47 PM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] CDT project view: How to programatically update the
> directories shown below 'Includes'?
>
> Hi list,
>
> I wrote an ISettingsProvider that reads a file generated in the build and feeds the
> C-include path entries found in the file to the indexer. Works perfectly.
> However, the 'C/C++ projects' view does not show these directories unless I click
> Apply in the Project Properties | C/C++ General | Preprocessor Includes tab.
>
> Is there a way ro update the folder entries programmtically, e.g. by fireing an
> even?
>
> Currently the code fires PreferenceConstants.PREF_SHOW_CU_CHILDREN to
> inform the indexer; correct me I that`s wrong.
>
> /Martin
>
> --
> Cd wrttn wtht vwls s mch trsr.
>
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/cdt-dev