From 7556800afc0d782bfbddd65c519985c6c84db00d Mon Sep 17 00:00:00 2001 From: Hein Date: Thu, 6 Jan 2022 11:51:37 +0100 Subject: [PATCH] Add nahmii-compiler context menu for compilation through it. --- apps/remix-ide/src/remixAppManager.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/remix-ide/src/remixAppManager.js b/apps/remix-ide/src/remixAppManager.js index ecc6ee89fc..5f0fac101f 100644 --- a/apps/remix-ide/src/remixAppManager.js +++ b/apps/remix-ide/src/remixAppManager.js @@ -149,6 +149,16 @@ export class RemixAppManager extends PluginManager { pattern: [], sticky: true }) + await this.call('filePanel', 'registerContextMenuItem', { + id: 'nahmii-compiler', + name: 'compileCustomAction', + label: 'Compile for Nahmii', + type: [], + extension: ['.sol'], + path: [], + pattern: [], + sticky: true + }) } }