activate home in a single call

pull/5370/head
yann300 4 years ago
parent 11fab5fb57
commit 2a15935820
  1. 3
      apps/remix-ide/src/app.js
  2. 4
      apps/remix-ide/src/app/files/fileManager.js

@ -444,7 +444,8 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
await appManager.activatePlugin(['contentImport', 'theme', 'editor', 'fileManager', 'compilerMetadata', 'compilerArtefacts', 'network', 'web3Provider', 'offsetToLineColumnConverter'])
await appManager.activatePlugin(['mainPanel', 'menuicons'])
await appManager.activatePlugin(['sidePanel']) // activating host plugin separately
await appManager.activatePlugin(['home', 'hiddenPanel', 'pluginManager', 'fileExplorers', 'settings', 'contextualListener', 'terminal', 'fetchAndCompile'])
await appManager.activatePlugin(['home'])
await appManager.activatePlugin(['hiddenPanel', 'pluginManager', 'fileExplorers', 'settings', 'contextualListener', 'terminal', 'fetchAndCompile'])
const queryParams = new QueryParams()
const params = queryParams.get()

@ -49,6 +49,10 @@ class FileManager extends Plugin {
this.init()
}
getOpenedFiles () {
return this.openedFiles
}
setMode (mode) {
this.mode = mode
}

Loading…
Cancel
Save