Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Programatically selecting CTags indexer
Programatically selecting CTags indexer [message #167802] Mon, 10 April 2006 14:51 Go to next message
Eclipse UserFriend
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 #167877 is a reply to message #167802] Tue, 11 April 2006 15:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dschaefer.qnx.com

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.
>
>
Re: Programatically selecting CTags indexer [message #168152 is a reply to message #167877] Fri, 14 April 2006 17:11 Go to previous message
Eclipse UserFriend
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.
>>
>>
Previous Topic:Some auto-magic in CDT for Windows?
Next Topic:intel cdt
Goto Forum:
  


Current Time: Tue May 13 03:58:35 EDT 2025

Powered by FUDForum. Page generated in 0.04006 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top