Interface PluginContribution

This interface describes some static plugin contributions.

interface PluginContribution {
    activationEvents?: string[];
    authentication?: AuthenticationProviderInformation[];
    colors?: ColorDefinition[];
    commands?: PluginCommand[];
    configuration?: PreferenceSchema[];
    configurationDefaults?: PreferenceSchemaProperties;
    customEditors?: CustomEditor[];
    debuggers?: DebuggerContribution[];
    grammars?: GrammarsContribution[];
    iconThemes?: IconThemeContribution[];
    icons?: IconContribution[];
    keybindings?: Keybinding[];
    languages?: LanguageContribution[];
    localizations?: Localization[];
    menus?: {
        [location: string]: Menu[];
    };
    notebookPreload?: notebookPreloadContribution[];
    notebookRenderer?: NotebookRendererContribution[];
    notebooks?: NotebookContribution[];
    problemMatchers?: ProblemMatcherContribution[];
    problemPatterns?: ProblemPatternContribution[];
    resourceLabelFormatters?: ResourceLabelFormatter[];
    snippets?: SnippetContribution[];
    submenus?: Submenu[];
    taskDefinitions?: TaskDefinition[];
    terminalProfiles?: TerminalProfile[];
    themes?: ThemeContribution[];
    views?: {
        [location: string]: View[];
    };
    viewsContainers?: {
        [location: string]: ViewContainer[];
    };
    viewsWelcome?: ViewWelcome[];
}

Properties

activationEvents?: string[]
colors?: ColorDefinition[]
commands?: PluginCommand[]
configuration?: PreferenceSchema[]
configurationDefaults?: PreferenceSchemaProperties
customEditors?: CustomEditor[]
debuggers?: DebuggerContribution[]
iconThemes?: IconThemeContribution[]
keybindings?: Keybinding[]
languages?: LanguageContribution[]
localizations?: Localization[]
menus?: {
    [location: string]: Menu[];
}

Type declaration

  • [location: string]: Menu[]
notebookPreload?: notebookPreloadContribution[]
notebookRenderer?: NotebookRendererContribution[]
notebooks?: NotebookContribution[]
problemMatchers?: ProblemMatcherContribution[]
problemPatterns?: ProblemPatternContribution[]
resourceLabelFormatters?: ResourceLabelFormatter[]
snippets?: SnippetContribution[]
submenus?: Submenu[]
taskDefinitions?: TaskDefinition[]
terminalProfiles?: TerminalProfile[]
views?: {
    [location: string]: View[];
}

Type declaration

  • [location: string]: View[]
viewsContainers?: {
    [location: string]: ViewContainer[];
}

Type declaration

viewsWelcome?: ViewWelcome[]