From 1a20932271a0e952cc33ef3d8b691fc619239ae4 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Wed, 6 Jul 2022 16:07:26 +0200 Subject: [PATCH] rm plugin --- apps/remix-ide/src/app.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/remix-ide/src/app.js b/apps/remix-ide/src/app.js index 789c1b51a9..847011a30c 100644 --- a/apps/remix-ide/src/app.js +++ b/apps/remix-ide/src/app.js @@ -19,7 +19,7 @@ import { FileDecorator } from './app/plugins/file-decorator' import { WalkthroughService } from './walkthroughService' -import { OffsetToLineColumnConverter, CompilerMetadata, CompilerArtefacts, FetchAndCompile, CompilerImports, EditorContextListener, GistHandler } from '@remix-project/core-plugin' +import { OffsetToLineColumnConverter, CompilerMetadata, CompilerArtefacts, FetchAndCompile, CompilerImports, GistHandler } from '@remix-project/core-plugin' import Registry from './app/state/registry' import { ConfigPlugin } from './app/plugins/config' @@ -206,7 +206,7 @@ class AppComponent { } } ) - const contextualListener = new EditorContextListener(new AstWalker()) + const codeParser = new CodeParser(new AstWalker()) const fileDecorator = new FileDecorator() @@ -232,7 +232,6 @@ class AppComponent { compilersArtefacts, networkModule, offsetToLineColumnConverter, - contextualListener, codeParser, fileDecorator, terminal, @@ -363,7 +362,7 @@ class AppComponent { await this.appManager.activatePlugin(['sidePanel']) // activating host plugin separately await this.appManager.activatePlugin(['home']) await this.appManager.activatePlugin(['settings', 'config']) - await this.appManager.activatePlugin(['hiddenPanel', 'pluginManager', 'contextualListener', 'codeParser', 'fileDecorator', 'terminal', 'blockchain', 'fetchAndCompile', 'contentImport', 'gistHandler']) + await this.appManager.activatePlugin(['hiddenPanel', 'pluginManager', 'codeParser', 'fileDecorator', 'terminal', 'blockchain', 'fetchAndCompile', 'contentImport', 'gistHandler']) await this.appManager.activatePlugin(['settings']) await this.appManager.activatePlugin(['walkthrough','storage', 'search','compileAndRun', 'recorder'])