Programatically selecting CTags indexer [message #167802] |
Mon, 10 April 2006 14:51  |
Eclipse User |
|
|
|
Hi all,
When creating a CDT-based project via a custom wizard, how can I
programatically select the CTags indexer instead of the default full
indexer?
I've tried using ICExtensionReference.setExtensionData() on the
CCorePlugin.INDEXER_UNIQ_ID description in the wizard's doRunEpilogue
(assuming it was perhaps reverting back to the default when I clicked
Finish), but that doesn't seem to work.
I'd even settle for having to use my own PreferenceInitializer in order to
change the CDT's default indexer for the whole workbench, but that didn't
seem to work for me either. Maybe I'm doing something wrong? Any help
would be greatly appreciated.
Thanks in advance.
Cheers,
-Dan.
|
|
|
|
Re: Programatically selecting CTags indexer [message #168152 is a reply to message #167877] |
Fri, 14 April 2006 17:11  |
Eclipse User |
|
|
|
Hi Doug,
Yes, manually changing it works fine. I'm just not able to change the
preference programmatically.
Cheers,
-Dan.
Doug Schaefer wrote:
> There were some issues with how the indexer was set in 3.0.2. Changing
> the preference should work, though. Does it work when you change it
> manually?
> Doug.
> Dan Bourque wrote:
>> Hi all,
>>
>> When creating a CDT-based project via a custom wizard, how can I
>> programatically select the CTags indexer instead of the default full
>> indexer?
>>
>> I've tried using ICExtensionReference.setExtensionData() on the
>> CCorePlugin.INDEXER_UNIQ_ID description in the wizard's doRunEpilogue
>> (assuming it was perhaps reverting back to the default when I clicked
>> Finish), but that doesn't seem to work.
>>
>> I'd even settle for having to use my own PreferenceInitializer in order
>> to change the CDT's default indexer for the whole workbench, but that
>> didn't seem to work for me either. Maybe I'm doing something wrong?
>> Any help would be greatly appreciated.
>>
>> Thanks in advance.
>> Cheers,
>> -Dan.
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04006 seconds