Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
fdf4b3c6
Unverified
Commit
fdf4b3c6
authored
Jul 23, 2019
by
yann300
Committed by
GitHub
Jul 23, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2214 from ethereum/editor-plugin
Source highlighter is now editor
parents
3d2594fa
25545fe7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app.js
src/app.js
+1
-1
SourceHighlighters.js
src/app/editor/SourceHighlighters.js
+2
-2
remixAppManager.js
src/remixAppManager.js
+1
-1
No files found.
src/app.js
View file @
fdf4b3c6
...
...
@@ -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'
])
...
...
src/app/editor/SourceHighlighters.js
View file @
fdf4b3c6
...
...
@@ -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'
]
...
...
src/remixAppManager.js
View file @
fdf4b3c6
...
...
@@ -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'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment