From 8dcf90c7d0355576ae60bdd13782dd4999ae493b Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Thu, 23 Feb 2023 16:52:44 +0100 Subject: [PATCH] Non-standard capitalization of JSON commands (#175251) --- extensions/json-language-features/client/src/jsonClient.ts | 2 +- extensions/json-language-features/package.nls.json | 4 ++-- extensions/json-language-features/server/src/jsonServer.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/json-language-features/client/src/jsonClient.ts b/extensions/json-language-features/client/src/jsonClient.ts index 52136c3cf85..598daf78f93 100644 --- a/extensions/json-language-features/client/src/jsonClient.ts +++ b/extensions/json-language-features/client/src/jsonClient.ts @@ -45,7 +45,7 @@ interface DocumentSortingParams { */ readonly uri: string; /** - * The format options + * The sort options */ readonly options: SortOptions; } diff --git a/extensions/json-language-features/package.nls.json b/extensions/json-language-features/package.nls.json index db0c326510d..571d047802d 100644 --- a/extensions/json-language-features/package.nls.json +++ b/extensions/json-language-features/package.nls.json @@ -17,6 +17,6 @@ "json.maxItemsComputed.desc": "The maximum number of outline symbols and folding regions computed (limited for performance reasons).", "json.maxItemsExceededInformation.desc": "Show notification when exceeding the maximum number of outline symbols and folding regions.", "json.enableSchemaDownload.desc": "When enabled, JSON schemas can be fetched from http and https locations.", - "json.command.clearCache": "Clear schema cache", - "json.command.sort": "Sort document" + "json.command.clearCache": "Clear Schema Cache", + "json.command.sort": "Sort Document" } diff --git a/extensions/json-language-features/server/src/jsonServer.ts b/extensions/json-language-features/server/src/jsonServer.ts index 27b5b8cbeae..0282e6fa939 100644 --- a/extensions/json-language-features/server/src/jsonServer.ts +++ b/extensions/json-language-features/server/src/jsonServer.ts @@ -45,7 +45,7 @@ export interface DocumentSortingParams { */ uri: string; /** - * The format options + * The sort options */ options: SortOptions; }