|
|
|
@ -12,6 +12,7 @@ require('brace/ext/language_tools') |
|
|
|
|
require('brace/ext/searchbox') |
|
|
|
|
const langTools = ace.acequire('ace/ext/language_tools') |
|
|
|
|
require('ace-mode-solidity/build/remix-ide/mode-solidity') |
|
|
|
|
require('ace-mode-move/build/remix-ide/mode-move') |
|
|
|
|
require('brace/mode/javascript') |
|
|
|
|
require('brace/mode/python') |
|
|
|
|
require('brace/mode/json') |
|
|
|
@ -65,6 +66,7 @@ class Editor { |
|
|
|
|
this.emptySession = this._createSession('') |
|
|
|
|
this.modes = { |
|
|
|
|
sol: 'ace/mode/solidity', |
|
|
|
|
mvir: 'ace/mode/move', |
|
|
|
|
js: 'ace/mode/javascript', |
|
|
|
|
py: 'ace/mode/python', |
|
|
|
|
vy: 'ace/mode/python', |
|
|
|
|