Skip to content

Commit

Permalink
chore(VSCode): Expose constructor parameters
Browse files Browse the repository at this point in the history
Expose constructor parameters to subclasses of the `DefaultVsCodeKieEditorChannelApiImpl` class.

fix: #2584
  • Loading branch information
lordrip committed Sep 20, 2024
1 parent 1c731ec commit 7894244
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ import { getNormalizedPosixPathRelativeToWorkspaceRoot, getWorkspaceRoot } from

export class DefaultVsCodeKieEditorChannelApiImpl implements KogitoEditorChannelApi, JavaCodeCompletionChannelApi {
constructor(
private readonly editor: VsCodeKieEditorController,
private readonly resourceContentService: ResourceContentService,
private readonly vscodeWorkspace: VsCodeWorkspaceChannelApiImpl,
private readonly backendProxy: BackendProxy,
private readonly vscodeNotifications: VsCodeNotificationsChannelApiImpl,
private readonly javaCodeCompletionApi: JavaCodeCompletionApi,
private readonly viewType: string,
private readonly i18n: I18n<VsCodeI18n>
protected readonly editor: VsCodeKieEditorController,
protected readonly resourceContentService: ResourceContentService,
protected readonly vscodeWorkspace: VsCodeWorkspaceChannelApiImpl,
protected readonly backendProxy: BackendProxy,
protected readonly vscodeNotifications: VsCodeNotificationsChannelApiImpl,
protected readonly javaCodeCompletionApi: JavaCodeCompletionApi,
protected readonly viewType: string,
protected readonly i18n: I18n<VsCodeI18n>
) {}

public async kogitoWorkspace_newEdit(workspaceEdit: WorkspaceEdit) {
Expand Down

0 comments on commit 7894244

Please sign in to comment.