diff --git a/src/app/editor/SourceHighlighters.js b/src/app/editor/SourceHighlighters.js index fc8e119839..e7378ec7d2 100644 --- a/src/app/editor/SourceHighlighters.js +++ b/src/app/editor/SourceHighlighters.js @@ -6,10 +6,12 @@ import { EditorApi } from 'remix-plugin' const profile = { displayName: 'source highlighters', name: 'sourceHighlighters', - methods: ['highlight', 'discardHighlight'], description: 'service - highlight source code' } +// EditorApi: +// - methods: ['highlight', 'discardHighlight'], + class SourceHighlighters extends EditorApi { constructor () { diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index 8e1fb9672c..d9970b6cff 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -28,6 +28,10 @@ const profile = { permission: true } +// EditorApi: +// - events: ['compilationFinished'], +// - methods: ['getCompilationResult'] + class CompileTab extends CompilerApi { constructor (editor, config, renderer, swarmfileProvider, fileManager, fileProviders, pluginManager) {