description:nls.localize('vscode.extension.contributes.debuggers.type',"Unique identifier for this debug adapter."),
type:'string'
},
label:{
description:nls.localize('vscode.extension.contributes.debuggers.label',"Display name for this debug adapter."),
type:'string'
},
program:{
description:nls.localize('vscode.extension.contributes.debuggers.program',"Path to the debug adapter program. Path is either absolute or relative to the extension folder."),
type:'string'
},
args:{
description:nls.localize('vscode.extension.contributes.debuggers.args',"Optional arguments to pass to the adapter."),
type:'array'
},
runtime:{
description:nls.localize('vscode.extension.contributes.debuggers.runtime',"Optional runtime in case the program attribute is not an executable but requires a runtime."),
description:nls.localize('vscode.extension.contributes.debuggers.variables',"Mapping from interactive variables (e.g ${action.pickProcess}) in `launch.json` to a command."),
type:'object'
},
initialConfigurations:{
description:nls.localize('vscode.extension.contributes.debuggers.initialConfigurations',"Configurations for generating the initial \'launch.json\'."),
type:['array','string'],
},
languages:{
description:nls.localize('vscode.extension.contributes.debuggers.languages',"List of languages for which the debug extension could be considered the \"default debugger\"."),
type:'array'
},
adapterExecutableCommand:{
description:nls.localize('vscode.extension.contributes.debuggers.adapterExecutableCommand',"If specified VS Code will call this command to determine the executable path of the debug adapter and the arguments to pass."),
type:'string'
},
configurationSnippets:{
description:nls.localize('vscode.extension.contributes.debuggers.configurationSnippets',"Snippets for adding new configurations in \'launch.json\'."),
type:'array'
},
configurationAttributes:{
description:nls.localize('vscode.extension.contributes.debuggers.configurationAttributes',"JSON schema configurations for validating \'launch.json\'."),
type:'object'
},
windows:{
description:nls.localize('vscode.extension.contributes.debuggers.windows',"Windows specific settings."),
type:'object',
properties:{
runtime:{
description:nls.localize('vscode.extension.contributes.debuggers.windows.runtime',"Runtime used for Windows."),
description:nls.localize('vscode.extension.contributes.debuggers.type',"Unique identifier for this debug adapter."),
type:'string'
},
label:{
description:nls.localize('vscode.extension.contributes.debuggers.label',"Display name for this debug adapter."),
type:'string'
},
program:{
description:nls.localize('vscode.extension.contributes.debuggers.program',"Path to the debug adapter program. Path is either absolute or relative to the extension folder."),
type:'string'
},
args:{
description:nls.localize('vscode.extension.contributes.debuggers.args',"Optional arguments to pass to the adapter."),
type:'array'
},
runtime:{
description:nls.localize('vscode.extension.contributes.debuggers.runtime',"Optional runtime in case the program attribute is not an executable but requires a runtime."),
description:nls.localize('vscode.extension.contributes.debuggers.variables',"Mapping from interactive variables (e.g ${action.pickProcess}) in `launch.json` to a command."),
type:'object'
},
initialConfigurations:{
description:nls.localize('vscode.extension.contributes.debuggers.initialConfigurations',"Configurations for generating the initial \'launch.json\'."),
type:['array','string'],
},
languages:{
description:nls.localize('vscode.extension.contributes.debuggers.languages',"List of languages for which the debug extension could be considered the \"default debugger\"."),
type:'array'
},
adapterExecutableCommand:{
description:nls.localize('vscode.extension.contributes.debuggers.adapterExecutableCommand',"If specified VS Code will call this command to determine the executable path of the debug adapter and the arguments to pass."),
type:'string'
},
configurationSnippets:{
description:nls.localize('vscode.extension.contributes.debuggers.configurationSnippets',"Snippets for adding new configurations in \'launch.json\'."),
type:'array'
},
configurationAttributes:{
description:nls.localize('vscode.extension.contributes.debuggers.configurationAttributes',"JSON schema configurations for validating \'launch.json\'."),
type:'object'
},
windows:{
description:nls.localize('vscode.extension.contributes.debuggers.windows',"Windows specific settings."),
type:'object',
properties:{
runtime:{
description:nls.localize('vscode.extension.contributes.debuggers.windows.runtime',"Runtime used for Windows."),
type:'string'
}
}
}
},
osx:{
description:nls.localize('vscode.extension.contributes.debuggers.osx',"macOS specific settings."),
type:'object',
properties:{
runtime:{
description:nls.localize('vscode.extension.contributes.debuggers.osx.runtime',"Runtime used for macOS."),
type:'string'
},
osx:{
description:nls.localize('vscode.extension.contributes.debuggers.osx',"macOS specific settings."),
type:'object',
properties:{
runtime:{
description:nls.localize('vscode.extension.contributes.debuggers.osx.runtime',"Runtime used for macOS."),
type:'string'
}
}
}
},
linux:{
description:nls.localize('vscode.extension.contributes.debuggers.linux',"Linux specific settings."),
type:'object',
properties:{
runtime:{
description:nls.localize('vscode.extension.contributes.debuggers.linux.runtime',"Runtime used for Linux."),
type:'string'
},
linux:{
description:nls.localize('vscode.extension.contributes.debuggers.linux',"Linux specific settings."),
type:'object',
properties:{
runtime:{
description:nls.localize('vscode.extension.contributes.debuggers.linux.runtime',"Runtime used for Linux."),
description:localize('vscode.extension.contributes.localizations.languageId','Id of the language into which the display strings are translated.'),
type:'string'
},
languageName:{
description:localize('vscode.extension.contributes.localizations.languageName','Name of the language in English.'),
type:'string'
},
localizedLanguageName:{
description:localize('vscode.extension.contributes.localizations.languageNameLocalized','Name of the language in contributed language.'),
type:'string'
},
translations:{
description:localize('vscode.extension.contributes.localizations.translations','List of translations associated to the language.'),
type:'array',
default:[{id:'vscode',path:''}],
items:{
type:'object',
required:['id','path'],
properties:{
id:{
type:'string',
description:localize('vscode.extension.contributes.localizations.translations.id',"Id of VS Code or Extension for which this translation is contributed to. Id of VS Code is always `vscode` and of extension should be in format `publisherId.extensionName`."),
patternErrorMessage:localize('vscode.extension.contributes.localizations.translations.id.pattern',"Id should be `vscode` or in format `publisherId.extensionName` for translating VS code or an extension respectively.")
ExtensionsRegistry.registerExtensionPoint({
extensionPoint:'localizations',
jsonSchema:{
description:localize('vscode.extension.contributes.localizations',"Contributes localizations to the editor"),
description:localize('vscode.extension.contributes.localizations.languageId','Id of the language into which the display strings are translated.'),
type:'string'
},
languageName:{
description:localize('vscode.extension.contributes.localizations.languageName','Name of the language in English.'),
type:'string'
},
localizedLanguageName:{
description:localize('vscode.extension.contributes.localizations.languageNameLocalized','Name of the language in contributed language.'),
type:'string'
},
translations:{
description:localize('vscode.extension.contributes.localizations.translations','List of translations associated to the language.'),
type:'array',
default:[{id:'vscode',path:''}],
items:{
type:'object',
required:['id','path'],
properties:{
id:{
type:'string',
description:localize('vscode.extension.contributes.localizations.translations.id',"Id of VS Code or Extension for which this translation is contributed to. Id of VS Code is always `vscode` and of extension should be in format `publisherId.extensionName`."),
patternErrorMessage:localize('vscode.extension.contributes.localizations.translations.id.pattern',"Id should be `vscode` or in format `publisherId.extensionName` for translating VS code or an extension respectively.")
},
path:{
type:'string',
description:localize('vscode.extension.contributes.localizations.translations.path',"A relative path to a file containing translations for the language.")
}
},
path:{
type:'string',
description:localize('vscode.extension.contributes.localizations.translations.path',"A relative path to a file containing translations for the language.")
description:nls.localize('vscode.extension.contributes.languages.id','ID of the language.'),
type:'string'
}
},
extensions:{
description:nls.localize('vscode.extension.contributes.languages.extensions','File extensions associated to the language.'),
default:['.foo'],
type:'array',
items:{
type:'string'
}
},
filenames:{
description:nls.localize('vscode.extension.contributes.languages.filenames','File names associated to the language.'),
type:'array',
items:{
type:'string'
}
},
filenamePatterns:{
description:nls.localize('vscode.extension.contributes.languages.filenamePatterns','File name glob patterns associated to the language.'),
type:'array',
items:{
type:'string'
}
},
mimetypes:{
description:nls.localize('vscode.extension.contributes.languages.mimetypes','Mime types associated to the language.'),
type:'array',
items:{
},
aliases:{
description:nls.localize('vscode.extension.contributes.languages.aliases','Name aliases for the language.'),
type:'array',
items:{
type:'string'
}
},
extensions:{
description:nls.localize('vscode.extension.contributes.languages.extensions','File extensions associated to the language.'),
default:['.foo'],
type:'array',
items:{
type:'string'
}
},
filenames:{
description:nls.localize('vscode.extension.contributes.languages.filenames','File names associated to the language.'),
type:'array',
items:{
type:'string'
}
},
filenamePatterns:{
description:nls.localize('vscode.extension.contributes.languages.filenamePatterns','File name glob patterns associated to the language.'),
type:'array',
items:{
type:'string'
}
},
mimetypes:{
description:nls.localize('vscode.extension.contributes.languages.mimetypes','Mime types associated to the language.'),
type:'array',
items:{
type:'string'
}
},
firstLine:{
description:nls.localize('vscode.extension.contributes.languages.firstLine','A regular expression matching the first line of a file of the language.'),
type:'string'
},
configuration:{
description:nls.localize('vscode.extension.contributes.languages.configuration','A relative path to a file containing configuration options for the language.'),
type:'string',
default:'./language-configuration.json'
}
},
firstLine:{
description:nls.localize('vscode.extension.contributes.languages.firstLine','A regular expression matching the first line of a file of the language.'),
type:'string'
},
configuration:{
description:nls.localize('vscode.extension.contributes.languages.configuration','A relative path to a file containing configuration options for the language.'),
description:nls.localize('vscode.extension.contributes.grammars.language','Language identifier for which this syntax is contributed to.'),
type:'string'
},
scopeName:{
description:nls.localize('vscode.extension.contributes.grammars.scopeName','Textmate scope name used by the tmLanguage file.'),
type:'string'
},
path:{
description:nls.localize('vscode.extension.contributes.grammars.path','Path of the tmLanguage file. The path is relative to the extension folder and typically starts with \'./syntaxes/\'.'),
type:'string'
},
embeddedLanguages:{
description:nls.localize('vscode.extension.contributes.grammars.embeddedLanguages','A map of scope name to language id if this grammar contains embedded languages.'),
type:'object'
},
tokenTypes:{
description:nls.localize('vscode.extension.contributes.grammars.tokenTypes','A map of scope name to token types.'),
type:'object',
additionalProperties:{
enum:['string','comment','other']
}
},
injectTo:{
description:nls.localize('vscode.extension.contributes.grammars.injectTo','List of language scope names to which this grammar is injected to.'),
description:nls.localize('vscode.extension.contributes.grammars.language','Language identifier for which this syntax is contributed to.'),
type:'string'
},
scopeName:{
description:nls.localize('vscode.extension.contributes.grammars.scopeName','Textmate scope name used by the tmLanguage file.'),
type:'string'
},
path:{
description:nls.localize('vscode.extension.contributes.grammars.path','Path of the tmLanguage file. The path is relative to the extension folder and typically starts with \'./syntaxes/\'.'),
type:'string'
},
embeddedLanguages:{
description:nls.localize('vscode.extension.contributes.grammars.embeddedLanguages','A map of scope name to language id if this grammar contains embedded languages.'),
type:'object'
},
tokenTypes:{
description:nls.localize('vscode.extension.contributes.grammars.tokenTypes','A map of scope name to token types.'),
type:'object',
additionalProperties:{
enum:['string','comment','other']
}
},
injectTo:{
description:nls.localize('vscode.extension.contributes.grammars.injectTo','List of language scope names to which this grammar is injected to.'),
description:nls.localize('contributes.color','Contributes extension defined themable colors'),
type:'array',
items:{
type:'object',
properties:{
id:{
type:'string',
description:nls.localize('contributes.color.id','The identifier of the themable color'),
pattern:colorIdPattern,
patternErrorMessage:nls.localize('contributes.color.id.format','Identifiers should be in the form aa[.bb]*'),
},
description:{
type:'string',
description:nls.localize('contributes.color.description','The description of the themable color'),
},
defaults:{
type:'object',
properties:{
light:{
description:nls.localize('contributes.defaults.light','The default color for light themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default.'),
type:'string',
anyOf:[
colorReferenceSchema,
{type:'string',format:'color-hex'}
]
},
dark:{
description:nls.localize('contributes.defaults.dark','The default color for dark themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default.'),
type:'string',
anyOf:[
colorReferenceSchema,
{type:'string',format:'color-hex'}
]
},
highContrast:{
description:nls.localize('contributes.defaults.highContrast','The default color for high contrast themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default.'),
description:nls.localize('contributes.color','Contributes extension defined themable colors'),
type:'array',
items:{
type:'object',
properties:{
id:{
type:'string',
description:nls.localize('contributes.color.id','The identifier of the themable color'),
pattern:colorIdPattern,
patternErrorMessage:nls.localize('contributes.color.id.format','Identifiers should be in the form aa[.bb]*'),
},
description:{
type:'string',
description:nls.localize('contributes.color.description','The description of the themable color'),
},
defaults:{
type:'object',
properties:{
light:{
description:nls.localize('contributes.defaults.light','The default color for light themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default.'),
type:'string',
anyOf:[
colorReferenceSchema,
{type:'string',format:'color-hex'}
]
},
dark:{
description:nls.localize('contributes.defaults.dark','The default color for dark themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default.'),
type:'string',
anyOf:[
colorReferenceSchema,
{type:'string',format:'color-hex'}
]
},
highContrast:{
description:nls.localize('contributes.defaults.highContrast','The default color for high contrast themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default.'),
description:nls.localize('vscode.extension.contributes.themes.id','Id of the icon theme as used in the user settings.'),
type:'string'
},
label:{
description:nls.localize('vscode.extension.contributes.themes.label','Label of the color theme as shown in the UI.'),
type:'string'
},
uiTheme:{
description:nls.localize('vscode.extension.contributes.themes.uiTheme','Base theme defining the colors around the editor: \'vs\' is the light color theme, \'vs-dark\' is the dark color theme. \'hc-black\' is the dark high contrast theme.'),
description:nls.localize('vscode.extension.contributes.themes.id','Id of the icon theme as used in the user settings.'),
type:'string'
},
label:{
description:nls.localize('vscode.extension.contributes.themes.label','Label of the color theme as shown in the UI.'),
type:'string'
},
uiTheme:{
description:nls.localize('vscode.extension.contributes.themes.uiTheme','Base theme defining the colors around the editor: \'vs\' is the light color theme, \'vs-dark\' is the dark color theme. \'hc-black\' is the dark high contrast theme.'),
enum:[VS_LIGHT_THEME,VS_DARK_THEME,VS_HC_THEME]
},
path:{
description:nls.localize('vscode.extension.contributes.themes.path','Path of the tmTheme file. The path is relative to the extension folder and is typically \'./themes/themeFile.tmTheme\'.'),
type:'string'
}
},
path:{
description:nls.localize('vscode.extension.contributes.themes.path','Path of the tmTheme file. The path is relative to the extension folder and is typically \'./themes/themeFile.tmTheme\'.'),
description:nls.localize('vscode.extension.contributes.iconThemes.id','Id of the icon theme as used in the user settings.'),
type:'string'
},
label:{
description:nls.localize('vscode.extension.contributes.iconThemes.label','Label of the icon theme as shown in the UI.'),
type:'string'
},
path:{
description:nls.localize('vscode.extension.contributes.iconThemes.path','Path of the icon theme definition file. The path is relative to the extension folder and is typically \'./icons/awesome-icon-theme.json\'.'),
type:'string'
}
},
path:{
description:nls.localize('vscode.extension.contributes.iconThemes.path','Path of the icon theme definition file. The path is relative to the extension folder and is typically \'./icons/awesome-icon-theme.json\'.'),