apply existing label, doc, and detail to inline completion (#244490)

This commit is contained in:
Megan Rogge
2025-03-24 18:21:17 -04:00
committed by GitHub
parent 45c88a5100
commit 725c5f705a
2 changed files with 22 additions and 3 deletions

View File

@@ -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);
}
}