LanguageSettingsProvider

Identifier:
org.eclipse.cdt.core.LanguageSettingsProvider

Since:
CDT 8.1

Description:
This extension point is used to contribute a new Language Settings Provider. A Language Settings Provider is used to get additions to compiler options such as include paths (-I) or preprocessor defines (-D) and others into the project model.

Configuration Markup:

<!ELEMENT extension (provider)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>

This extension point is used to contribute a new Language Settings Provider. A Language Settings Provider is used to get additions to compiler options such as include paths (-I) or preprocessor defines (-D) and others into the project model.



<!ELEMENT provider (language-scope* , entry*)>

<!ATTLIST provider

class             CDATA #IMPLIED

id                IDREF #REQUIRED

name              CDATA #REQUIRED

parameter         CDATA #IMPLIED

prefer-non-shared (true | false) "false">

The definition of a language settings provider.



<!ELEMENT language-scope EMPTY>

<!ATTLIST language-scope

id CDATA #REQUIRED>

The definition of language scope. Includes the list of language ID this provider is applicable to. If a language scope is not present, the provider will provide for any language.



<!ELEMENT entry (flag*)>

<!ATTLIST entry

kind  (includePath|macro|includeFile|libraryPath|libraryFile|macroFile)

name  CDATA #REQUIRED

value CDATA #IMPLIED>

The Language Settings Entries used to provide additions to compiler options such as include paths (-I) or preprocessor defines (-D) and others into the project model.



<!ELEMENT flag EMPTY>

<!ATTLIST flag

value (BUILTIN|LOCAL|RESOLVED|VALUE_WORKSPACE_PATH|UNDEFINED|EXPORTED) >

Combination of flags for the entry.



API Information:
Plug-ins that want to extend this extension point must implement org.eclipse.cdt.core.language.settings.providers.ILanguageSettingsProvider interface.
For those cases where contributed settings entries (representing the compiler options) are not changed dynamically it is sufficient to configure existing class LanguageSettingsBaseProvider which is provided by default.


Copyright (c) 2009, 2013 Andrew Gvozdev and others. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0