Skip to content

Commit

Permalink
Merge pull request #848 from ethereum/yann300-patch-27
Browse files Browse the repository at this point in the history
handle other kind of contract file
  • Loading branch information
yann300 authored Feb 8, 2021
2 parents 2cdaa1c + 34523f3 commit 0ce564c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/remix-ide/src/app/tabs/runTab/contractDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) || // vyper
/.(.lex)$/.exec(currentFile) || // lexon
/.(.contract)$/.exec(currentFile)) {
this.createPanel.style.display = 'block'
this.orLabel.style.display = 'block'
this.contractNamesContainer.style.display = 'block'
Expand Down

0 comments on commit 0ce564c

Please sign in to comment.