mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
add default label, fixes #12119
This commit is contained in:
@@ -315,7 +315,7 @@ export const Suggest = {
|
||||
|
||||
from(item: vscode.CompletionItem, disposables: IDisposable[]): modes.ISuggestion {
|
||||
const suggestion: modes.ISuggestion = {
|
||||
label: item.label,
|
||||
label: item.label || '<missing label>',
|
||||
insertText: item.insertText || item.label,
|
||||
type: CompletionItemKind.from(item.kind),
|
||||
detail: item.detail,
|
||||
|
||||
Reference in New Issue
Block a user