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
47dc6182
Commit
47dc6182
authored
Apr 15, 2019
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix autocomplere
parent
26b8c2be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
auto-complete-popup.js
src/app/ui/auto-complete-popup.js
+1
-1
No files found.
src/app/ui/auto-complete-popup.js
View file @
47dc6182
...
@@ -201,11 +201,11 @@ class AutoCompletePopup {
...
@@ -201,11 +201,11 @@ class AutoCompletePopup {
extendAutocompletion
()
{
extendAutocompletion
()
{
// TODO: this is not using the appManager interface. Terminal should be put as module
// TODO: this is not using the appManager interface. Terminal should be put as module
this
.
opts
.
appStore
.
event
.
on
(
'activate'
,
(
id
)
=>
{
this
.
opts
.
appStore
.
event
.
on
(
'activate'
,
(
id
)
=>
{
const
keyValue
=
{}
const
profile
=
this
.
opts
.
appStore
.
getOne
(
id
).
profile
const
profile
=
this
.
opts
.
appStore
.
getOne
(
id
).
profile
if
(
!
profile
.
methods
)
return
if
(
!
profile
.
methods
)
return
profile
.
methods
.
forEach
((
method
)
=>
{
profile
.
methods
.
forEach
((
method
)
=>
{
const
key
=
`remix.call({name: '
${
id
}
', key:'
${
method
}
', payload: []}).then((result) => { console.log(result) }).catch((error) => { console.log(error) })`
const
key
=
`remix.call({name: '
${
id
}
', key:'
${
method
}
', payload: []}).then((result) => { console.log(result) }).catch((error) => { console.log(error) })`
const
keyValue
=
{}
keyValue
[
key
]
=
`call
${
id
}
-
${
method
}
`
keyValue
[
key
]
=
`call
${
id
}
-
${
method
}
`
if
(
this
.
extraCommands
.
includes
(
keyValue
))
return
if
(
this
.
extraCommands
.
includes
(
keyValue
))
return
this
.
extraCommands
.
push
(
keyValue
)
this
.
extraCommands
.
push
(
keyValue
)
...
...
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