|
|
|
@ -470,14 +470,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
|
console.log('couldn\'t register iframe plugins', e.message) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
await appManager.activatePlugin(['theme', 'editor', 'fileManager', 'compilerMetadata', 'compilerArtefacts', 'network', 'web3Provider', 'offsetToLineColumnConverter']) |
|
|
|
|
await appManager.activatePlugin(['mainPanel', 'menuicons', 'tabs']) |
|
|
|
|
await appManager.activatePlugin(['sidePanel']) // activating host plugin separately
|
|
|
|
|
await appManager.activatePlugin(['home']) |
|
|
|
|
await appManager.activatePlugin(['settings']) |
|
|
|
|
await appManager.activatePlugin(['hiddenPanel', 'filePanel', 'pluginManager', 'contextualListener', 'terminal', 'blockchain', 'fetchAndCompile', 'contentImport']) |
|
|
|
|
await appManager.registerContextMenuItems() |
|
|
|
|
// Set workspace after initial activation
|
|
|
|
|
function setWorkSpace () { |
|
|
|
|
if (Array.isArray(workspace)) { |
|
|
|
|
appManager.activatePlugin(workspace).then(async () => { |
|
|
|
|
try { |
|
|
|
@ -509,6 +502,17 @@ Please make a backup of your contracts and start using http://remix.ethereum.org |
|
|
|
|
// activate solidity plugin
|
|
|
|
|
appManager.activatePlugin(['solidity', 'udapp']) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
await appManager.activatePlugin(['theme', 'editor', 'fileManager', 'compilerMetadata', 'compilerArtefacts', 'network', 'web3Provider', 'offsetToLineColumnConverter']) |
|
|
|
|
await appManager.activatePlugin(['mainPanel', 'menuicons', 'tabs']) |
|
|
|
|
await appManager.activatePlugin(['sidePanel']) // activating host plugin separately
|
|
|
|
|
await appManager.activatePlugin(['home']) |
|
|
|
|
await appManager.activatePlugin(['settings']) |
|
|
|
|
appManager.on('filePanel', 'workspaceInit', () => { setWorkSpace() }) |
|
|
|
|
await appManager.activatePlugin(['hiddenPanel', 'filePanel', 'pluginManager', 'contextualListener', 'terminal', 'blockchain', 'fetchAndCompile', 'contentImport']) |
|
|
|
|
await appManager.registerContextMenuItems() |
|
|
|
|
// Set workspace after initial activation
|
|
|
|
|
|
|
|
|
|
// Load and start the service who manager layout and frame
|
|
|
|
|
const framingService = new FramingService(sidePanel, menuicons, mainview, this._components.resizeFeature) |
|
|
|
|