From 3311d94195b617b0641e0ff4163f5816055e292f Mon Sep 17 00:00:00 2001 From: ksg97031 Date: Mon, 18 Dec 2023 22:35:55 +0900 Subject: [PATCH] docs: Fix typos in description field of goToLocations and peekLocations commands - Fixed typos in the description field of the `multiple` argument in the `editor.action.goToLocations` command - Fixed typos in the description field of the `multiple` argument in the `editor.action.peekLocations` command Signed-off-by: ksg97031 --- src/vs/editor/contrib/gotoSymbol/browser/goToCommands.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.ts b/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.ts index 74575c32005..b2c2e16a925 100644 --- a/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.ts +++ b/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.ts @@ -804,7 +804,7 @@ CommandsRegistry.registerCommand({ { name: 'uri', description: 'The text document in which to start', constraint: URI }, { name: 'position', description: 'The position at which to start', constraint: corePosition.Position.isIPosition }, { name: 'locations', description: 'An array of locations.', constraint: Array }, - { name: 'multiple', description: 'Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto' }, + { name: 'multiple', description: 'Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`' }, { name: 'noResultsMessage', description: 'Human readable message that shows when locations is empty.' }, ] }, @@ -847,7 +847,7 @@ CommandsRegistry.registerCommand({ { name: 'uri', description: 'The text document in which to start', constraint: URI }, { name: 'position', description: 'The position at which to start', constraint: corePosition.Position.isIPosition }, { name: 'locations', description: 'An array of locations.', constraint: Array }, - { name: 'multiple', description: 'Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto' }, + { name: 'multiple', description: 'Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto`' }, ] }, handler: async (accessor: ServicesAccessor, resource: any, position: any, references: any, multiple?: any) => {