Merge pull request #2214 from ethereum/editor-plugin

Source highlighter is now editor
pull/3094/head
yann300 5 years ago committed by GitHub
commit 41a9bf73b6
  1. 2
      src/app.js
  2. 4
      src/app/editor/SourceHighlighters.js
  3. 2
      src/remixAppManager.js

@ -337,7 +337,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
...appManager.registeredPlugins()
])
await appManager.activate(['contentImport', 'theme', 'sourceHighlighters', 'fileManager', 'compilerMetadata', 'compilerArtefacts', 'network', 'offsetToLineColumnConverter'])
await appManager.activate(['contentImport', 'theme', 'editor', 'fileManager', 'compilerMetadata', 'compilerArtefacts', 'network', 'offsetToLineColumnConverter'])
await appManager.activate(['mainPanel'])
await appManager.activate(['menuicons', 'home', 'sidePanel', 'pluginManager', 'fileExplorers', 'settings'])

@ -5,8 +5,8 @@ import { Plugin } from '@remixproject/engine'
import * as packageJson from '../../../package.json'
const profile = {
displayName: 'source highlighters',
name: 'sourceHighlighters',
displayName: 'Editor',
name: 'editor',
description: 'service - highlight source code',
version: packageJson.version,
methods: ['highlight', 'discardHighlight']

@ -4,7 +4,7 @@ import { EventEmitter } from 'events'
import { PermissionHandler } from './app/ui/persmission-handler'
const requiredModules = [ // services + layout views + system views
'compilerArtefacts', 'compilerMetadata', 'contextualListener', 'sourceHighlighters', 'offsetToLineColumnConverter', 'network', 'theme', 'fileManager', 'contentImport',
'compilerArtefacts', 'compilerMetadata', 'contextualListener', 'editor', 'offsetToLineColumnConverter', 'network', 'theme', 'fileManager', 'contentImport',
'mainPanel', 'hiddenPanel', 'sidePanel', 'menuicons', 'fileExplorers',
'terminal', 'settings', 'pluginManager']

Loading…
Cancel
Save