Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Questions regarding Language Settings Provider

Hello Andrew,

thanks for your reply in the forum. I found how to activate my LanguageSettingsProvider by default when creating a new project.

I still would like to make my provider non- shared. I tried the LanguageSettingsProviderAssociation you mentioned, but the provider is still not editable nor I found how to make it non-shared.

Here the extract from the plugin.xml:

<extension
         point="org.eclipse.cdt.core.LanguageSettingsProvider">
      <provider
            id="com.valeo.vws.cdt.iartoolchain.iarclanguage.langsettingsprovider"
            name="IAR C Builtin Compiler Settings"
            prefer-non-shared="true">
         <entry
               kind="macro"
               name="__IAR_SYSTEMS_ICC__">
            <flag
                  value="BUILTIN">
            </flag>
         </entry>
         <language-scope
               id="com.valeo.vws.cdt.iartoolchain.iarclanguage">
         </language-scope>
      </provider>
   </extension>
   <extension
         point="org.eclipse.cdt.ui.LanguageSettingsProviderAssociation">
      <id-association
            id="com.valeo.vws.cdt.iartoolchain.iarclanguage.langsettingsprovider"
            ui-clear-entries="true"
            ui-edit-entries="true">
      </id-association>
   </extension>

I didn't put an own implementation class for the provider, so it uses the LanguageSettingsBaseProvider. Does this class provide the possibility to make the provider non- shared?

What needs to be done to make the provider non-shared directly after creating the project?

Thanks for your help!

Sebastian

Back to the top