diff --git a/src/vs/base/common/jsonSchema.ts b/src/vs/base/common/jsonSchema.ts index 1c6fea1f9c7..da614983689 100644 --- a/src/vs/base/common/jsonSchema.ts +++ b/src/vs/base/common/jsonSchema.ts @@ -63,6 +63,7 @@ export interface IJSONSchema { markdownEnumDescriptions?: string[]; markdownDescription?: string; doNotSuggest?: boolean; + suggestSortText?: string; allowComments?: boolean; allowTrailingCommas?: boolean; } diff --git a/src/vs/workbench/services/themes/common/themeConfiguration.ts b/src/vs/workbench/services/themes/common/themeConfiguration.ts index 5e5665b01e7..404c304682c 100644 --- a/src/vs/workbench/services/themes/common/themeConfiguration.ts +++ b/src/vs/workbench/services/themes/common/themeConfiguration.ts @@ -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