mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 14:01:38 +01:00
apply existing label, doc, and detail to inline completion (#244490)
This commit is contained in:
@@ -282,6 +282,7 @@ export async function getCompletionItemsFromSpecs(
|
||||
}
|
||||
const preferredItem = compareItems(existingItem, command);
|
||||
if (preferredItem) {
|
||||
preferredItem.kind = vscode.TerminalCompletionItemKind.Method;
|
||||
items.splice(items.indexOf(existingItem), 1, preferredItem);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user