-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
preactivate solidity #2879
preactivate solidity #2879
Conversation
src/app.js
Outdated
@@ -406,6 +406,10 @@ Please make a backup of your contracts and start using http://remix.ethereum.org | |||
const framingService = new FramingService(sidePanel, menuicons, mainview, this._components.resizeFeature) | |||
framingService.start() | |||
|
|||
// preactivate solidity plugin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should preactivate solidity and udapp, only if the workspace
is empty, not always
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
your are right. I'll do the change.
@@ -400,7 +400,13 @@ Please make a backup of your contracts and start using http://remix.ethereum.org | |||
await appManager.activatePlugin(['home', 'sidePanel', 'hiddenPanel', 'pluginManager', 'fileExplorers', 'settings', 'contextualListener', 'scriptRunner', 'terminal', 'fetchAndCompile']) | |||
|
|||
// Set workspace after initial activation | |||
if (Array.isArray(workspace)) await appManager.activatePlugin(workspace) | |||
if (Array.isArray(workspace)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should check for the length here
fix https://github.com/ethereum/remix-ide/issues/2795