diff --git a/src/vs/workbench/contrib/void/browser/helpers/extractCodeFromResult.ts b/src/vs/workbench/contrib/void/browser/helpers/extractCodeFromResult.ts index c27d0b2d..af883788 100644 --- a/src/vs/workbench/contrib/void/browser/helpers/extractCodeFromResult.ts +++ b/src/vs/workbench/contrib/void/browser/helpers/extractCodeFromResult.ts @@ -78,16 +78,13 @@ class SurroundingsRemover { removeCodeBlock = () => { const pm = this const foundCodeBlock = pm.removePrefix('```') - console.log('A', this.i, this.j) if (!foundCodeBlock) return false pm.removeFromStartUntil('\n', true) // language - console.log('B', this.i, this.j) const foundCodeBlockEnd = pm.removeSuffix('```') if (!foundCodeBlockEnd) return false - console.log('C', this.i, this.j) pm.removeSuffix('\n') return true } diff --git a/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts b/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts index d4dea3e4..90a026a4 100644 --- a/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts +++ b/src/vs/workbench/contrib/void/browser/inlineDiffsService.ts @@ -44,6 +44,7 @@ import { Action2, registerAction2 } from '../../../../platform/actions/common/ac import { ServicesAccessor } from '../../../../editor/browser/editorExtensions.js'; import { localize2 } from '../../../../nls.js'; import { INotificationService, Severity } from '../../../../platform/notification/common/notification.js'; +import { isMacintosh } from '../../../../base/common/platform.js'; const configOfBG = (color: Color) => { return { dark: color, light: color, hcDark: color, hcLight: color, } @@ -1174,7 +1175,7 @@ class InlineDiffsService extends Disposable implements IInlineDiffsService { this._notificationService.notify({ severity: Severity.Warning, message: `Void Error: ${e.message}`, - source: details ?? undefined + source: details ? `(Hold ${isMacintosh ? 'Option' : 'Alt'} to hover) - ${details}` : undefined }) onDone(true) },