Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Is there way to add to Symbols without adding to -D option of the project

Anitha wrote:
> I have added a LanguageSettingsProvider and added this provider to all my
> toolchains and configurations. It works fine. 
> 
> I wish to make one tweak. Is it possible for me to make sure that the
> scanner is not run at the workspace level and only run at project level
> always. Can i achieve this without manually unchecking the "use global
> provider shared between projects" checkbox?

Yes, that's the "prefer-non-shared" attribute of the <provider> element of the org.eclipse.cdt.core.LanguageSettingsProvider extension.

I don't know if there is a way of preventing the user from making the provider shared, if that's what you're after.

 -Christian



Back to the top