From 2376fcf2774f81ee41bdbfa42512e5ad95825374 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 8 Mar 2022 12:54:20 +0100 Subject: [PATCH] add to native plugin --- apps/remix-ide/src/app/tabs/intelligent-script-executor.js | 2 +- apps/remix-ide/src/remixAppManager.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide/src/app/tabs/intelligent-script-executor.js b/apps/remix-ide/src/app/tabs/intelligent-script-executor.js index 074f12d947..08bca2bbc1 100644 --- a/apps/remix-ide/src/app/tabs/intelligent-script-executor.js +++ b/apps/remix-ide/src/app/tabs/intelligent-script-executor.js @@ -2,7 +2,7 @@ import { Plugin } from '@remixproject/engine' import * as packageJson from '../../../../../package.json' export const profile = { - name: 'IntelligentScriptExecutor', + name: 'intelligentScriptExecutor', displayName: 'Intelligent Script Executor', description: 'after each compilation, run the script defined in Natspec.', methods: [], diff --git a/apps/remix-ide/src/remixAppManager.js b/apps/remix-ide/src/remixAppManager.js index 6c1b909dfa..dd00e99177 100644 --- a/apps/remix-ide/src/remixAppManager.js +++ b/apps/remix-ide/src/remixAppManager.js @@ -13,7 +13,7 @@ const requiredModules = [ // services + layout views + system views const dependentModules = ['git', 'hardhat', 'slither'] // module which shouldn't be manually activated (e.g git is activated by remixd) export function isNative (name) { - const nativePlugins = ['vyper', 'workshops', 'debugger', 'remixd', 'menuicons', 'solidity', 'hardhat-provider', 'solidityStaticAnalysis', 'solidityUnitTesting', 'layout', 'notification'] + const nativePlugins = ['vyper', 'workshops', 'debugger', 'remixd', 'menuicons', 'solidity', 'hardhat-provider', 'solidityStaticAnalysis', 'solidityUnitTesting', 'layout', 'notification', 'intelligentScriptExecutor'] return nativePlugins.includes(name) || requiredModules.includes(name) }