mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-14 12:11:43 +01:00
remove unused constructor parameter
This commit is contained in:
@@ -902,7 +902,7 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
|
||||
this.chatEditingSessionWidgetContainer = elements.chatEditingSessionWidgetContainer;
|
||||
if (this.options.enableImplicitContext) {
|
||||
this._implicitContext = this._register(
|
||||
this.instantiationService.createInstance(ChatImplicitContext, undefined),
|
||||
this.instantiationService.createInstance(ChatImplicitContext),
|
||||
);
|
||||
|
||||
this._register(this._implicitContext.onDidChangeValue(() => this._handleAttachedContextChange()));
|
||||
|
||||
@@ -322,13 +322,10 @@ export class ChatImplicitContext extends Disposable implements IChatRequestImpli
|
||||
}
|
||||
|
||||
constructor(
|
||||
// TODO: @legomushroom - remove the constructor param?
|
||||
value: Location | URI | undefined,
|
||||
@IPromptsService private readonly promptsService: IPromptsService,
|
||||
@IModelService private readonly modelService: IModelService,
|
||||
) {
|
||||
super();
|
||||
this._value = value;
|
||||
}
|
||||
|
||||
setValue(value: Location | URI | undefined, isSelection: boolean, languageId?: string): void {
|
||||
|
||||
Reference in New Issue
Block a user