Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
38e95947
Commit
38e95947
authored
Jun 08, 2021
by
aniket-engg
Committed by
Aniket
Jul 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
activate and deactivate with remixd
parent
35830a2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
remixd-handle.js
apps/remix-ide/src/app/files/remixd-handle.js
+2
-0
No files found.
apps/remix-ide/src/app/files/remixd-handle.js
View file @
38e95947
...
...
@@ -43,6 +43,7 @@ export class RemixdHandle extends WebsocketPlugin {
if
(
super
.
socket
)
super
.
deactivate
()
// this.appManager.deactivatePlugin('git') // plugin call doesn't work.. see issue https://github.com/ethereum/remix-plugin/issues/342
if
(
this
.
appManager
.
actives
.
includes
(
'hardhat'
))
this
.
appManager
.
deactivatePlugin
(
'hardhat'
)
if
(
this
.
appManager
.
actives
.
includes
(
'slither'
))
this
.
appManager
.
deactivatePlugin
(
'slither'
)
this
.
localhostProvider
.
close
((
error
)
=>
{
if
(
error
)
console
.
log
(
error
)
})
...
...
@@ -88,6 +89,7 @@ export class RemixdHandle extends WebsocketPlugin {
this
.
call
(
'filePanel'
,
'setWorkspace'
,
{
name
:
LOCALHOST
,
isLocalhost
:
true
},
true
)
})
this
.
call
(
'manager'
,
'activatePlugin'
,
'hardhat'
)
this
.
call
(
'manager'
,
'activatePlugin'
,
'slither'
)
}
}
if
(
this
.
localhostProvider
.
isConnected
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment