diff --git a/packages/hoppscotch-app/helpers/editor/extensions/HoppVariable.ts b/packages/hoppscotch-app/helpers/editor/extensions/HoppVariable.ts index 401f00a98..7d4729b6c 100644 --- a/packages/hoppscotch-app/helpers/editor/extensions/HoppVariable.ts +++ b/packages/hoppscotch-app/helpers/editor/extensions/HoppVariable.ts @@ -115,37 +115,6 @@ export const environmentHighlightStyle = (aggregateEnvs: HoppRESTVar[]) => { ) } -// export class HoppEnvironmentPlugin { -// private compartment = new Compartment() -// -// private envs: AggregateEnvironment[] = [] -// -// constructor( -// subscribeToStream: StreamSubscriberFunc, -// private editorView: Ref -// ) { -// this.envs = getAggregateEnvs() -// -// subscribeToStream(aggregateEnvs$, (envs) => { -// this.envs = envs -// -// this.editorView.value?.dispatch({ -// effects: this.compartment.reconfigure([ -// cursorTooltipField(this.envs), -// environmentHighlightStyle(this.envs), -// ]), -// }) -// }) -// } -// -// get extension() { -// return this.compartment.of([ -// cursorTooltipField(this.envs), -// environmentHighlightStyle(this.envs), -// ]) -// } -// } - export class HoppReactiveVarPlugin { private compartment = new Compartment()