Merge pull request #201122 from ksg97031/main

docs: Fix typos in description of multiple argument for Go To commands
This commit is contained in:
Johannes Rieken
2023-12-19 09:32:55 +01:00
committed by GitHub
@@ -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) => {