Don't use status message for detected command (#195135)

This commit is contained in:
Johannes Rieken 2023-10-09 11:46:02 +02:00 committed by GitHub
parent f33a04f15c
commit ea4cae9eee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -551,7 +551,6 @@ export class InlineChatController implements IEditorContribution {
const valueNow = this._zone.value.widget.value;
if (!valueNow.startsWith('/')) {
const valueNew = `/${data.slashCommand} ${valueNow}`;
this._zone.value.widget.updateStatus(localize('slash', "Detected {0}...", data.slashCommand), { resetAfter: 1500, classes: ['warn'] });
ignoreInputChange = true;
this._zone.value.widget.value = valueNew;
ignoreInputChange = false;