add to native plugin

auto_exec_v2
yann300 3 years ago
parent 0603ae822e
commit 2376fcf277
  1. 2
      apps/remix-ide/src/app/tabs/intelligent-script-executor.js
  2. 2
      apps/remix-ide/src/remixAppManager.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: [],

@ -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)
}

Loading…
Cancel
Save