mirror of
https://github.com/Microsoft/vscode
synced 2024-09-18 01:58:27 +00:00
Fix rendering of auto-executing slash commands in requests (#189068)
This commit is contained in:
parent
df16c16211
commit
831ac957a2
|
@ -234,7 +234,7 @@ class SlashCommandCompletions extends Disposable {
|
|||
range: new Range(1, 1, 1, 1),
|
||||
sortText: c.sortText ?? c.command,
|
||||
kind: CompletionItemKind.Text, // The icons are disabled here anyway,
|
||||
command: c.executeImmediately ? { id: SubmitAction.ID, title: withSlash, arguments: [{ widget, inputValue: withSlash }] } : undefined,
|
||||
command: c.executeImmediately ? { id: SubmitAction.ID, title: withSlash, arguments: [{ widget, inputValue: `${withSlash} ` }] } : undefined,
|
||||
};
|
||||
})
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue