|
|
@ -113,8 +113,9 @@ class CompileTab extends CompilerApiMixin(ViewPlugin) { // implements ICompilerA |
|
|
|
return super.compileFile(event) |
|
|
|
return super.compileFile(event) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
onActivation () { |
|
|
|
async onActivation () { |
|
|
|
super.onActivation() |
|
|
|
this.currentFile = await this.call('fileManager', 'file') |
|
|
|
|
|
|
|
super.onActivation()
|
|
|
|
this.call('filePanel', 'registerContextMenuItem', { |
|
|
|
this.call('filePanel', 'registerContextMenuItem', { |
|
|
|
id: 'solidity', |
|
|
|
id: 'solidity', |
|
|
|
name: 'compileFile', |
|
|
|
name: 'compileFile', |
|
|
|