This commit is contained in:
Andrew Pareles 2024-11-08 17:29:40 -08:00
parent 932e9fe9c6
commit b52f0d8dd7
5 changed files with 4 additions and 2 deletions

View file

@ -272,6 +272,7 @@ class VoidSettingsService extends Disposable implements IVoidSettingsService {
constructor(
@IStorageService private readonly _storageService: IStorageService,
@IEncryptionService private readonly _encryptionService: IEncryptionService,
// @ISecretStorageService private readonly _secretStorageService: ISecretStorageService, // could have used this, but it's clearer the way it is (+ slightly different eg StorageTarget.USER)
) {
super()
}

View file

@ -36,8 +36,9 @@ import { IKeybindingService } from '../../../../platform/keybinding/common/keybi
import { IOpenerService } from '../../../../platform/opener/common/opener.js';
import { ITelemetryService } from '../../../../platform/telemetry/common/telemetry.js';
import { IHoverService } from '../../../../platform/hover/browser/hover.js';
import { IVoidSettingsService } from './registerSettings.js';
// import { IVoidSettingsService } from './registerSettings.js';
import { IEditorService } from '../../../services/editor/common/editorService.js';
// import { IClipboardService } from '../../../../platform/clipboard/common/clipboardService.js';
@ -69,10 +70,10 @@ class VoidSidebarViewPane extends ViewPane {
// Void:
@IVoidSidebarStateService private readonly _voidSidebarStateService: IVoidSidebarStateService,
@IThreadHistoryService private readonly _threadHistoryService: IThreadHistoryService,
@IVoidSettingsService private readonly _voidSettingsService: IVoidSettingsService,
// TODO chat service
) {
super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService)
}