From d381c47c8af572dbdbb9b4779ca49ae3f2043d0e Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 8 Feb 2021 12:42:48 +0100 Subject: [PATCH] handle other kind of contract file --- apps/remix-ide/src/app/tabs/runTab/contractDropdown.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/tabs/runTab/contractDropdown.js b/apps/remix-ide/src/app/tabs/runTab/contractDropdown.js index f712a81d94..d5ba035a1b 100644 --- a/apps/remix-ide/src/app/tabs/runTab/contractDropdown.js +++ b/apps/remix-ide/src/app/tabs/runTab/contractDropdown.js @@ -201,7 +201,10 @@ class ContractDropdownUI { this.selectContractNames.style.display = 'none' this.enableContractNames(true) this.enableAtAddress(true) - } else if (/.(.sol)$/.exec(currentFile)) { + } else if (/.(.sol)$/.exec(currentFile) + || /.(.vy)$/.exec(currentFile) + || /.(.lexon)$/.exec(currentFile) + || /.(.contract)$/.exec(currentFile)) { this.createPanel.style.display = 'block' this.orLabel.style.display = 'block' this.contractNamesContainer.style.display = 'block'