[semantic tokens] improve code completions for `editor.semanticTokenColorCustomizations`. Fixes #96351
parent
763de7962f
commit
dc97794113
|
@ -63,6 +63,7 @@ export interface IJSONSchema {
|
|||
markdownEnumDescriptions?: string[];
|
||||
markdownDescription?: string;
|
||||
doNotSuggest?: boolean;
|
||||
suggestSortText?: string;
|
||||
allowComments?: boolean;
|
||||
allowTrailingCommas?: boolean;
|
||||
}
|
||||
|
|
|
@ -150,11 +150,13 @@ const semanticTokenColorSchema: IJSONSchema = {
|
|||
properties: {
|
||||
enabled: {
|
||||
type: 'boolean',
|
||||
description: nls.localize('editorColors.semanticHighlighting.enabled', 'Whether semantic highlighting is enabled or disabled for this theme')
|
||||
description: nls.localize('editorColors.semanticHighlighting.enabled', 'Whether semantic highlighting is enabled or disabled for this theme'),
|
||||
suggestSortText: '0_enabled'
|
||||
},
|
||||
rules: {
|
||||
$ref: tokenStylingSchemaId,
|
||||
description: nls.localize('editorColors.semanticHighlighting.rules', 'Semantic token styling rules for this theme.')
|
||||
description: nls.localize('editorColors.semanticHighlighting.rules', 'Semantic token styling rules for this theme.'),
|
||||
suggestSortText: '0_rules'
|
||||
}
|
||||
},
|
||||
additionalProperties: false
|
||||
|
|
Loading…
Reference in New Issue