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
9f558402
Commit
9f558402
authored
Sep 07, 2021
by
yann300
Committed by
davidzagi93@gmail.com
Sep 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove use of fileProviderOf in compiler UI
parent
02a743a0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
renderer.tsx
libs/remix-ui/renderer/src/lib/renderer.tsx
+2
-7
No files found.
libs/remix-ui/renderer/src/lib/renderer.tsx
View file @
9f558402
...
@@ -86,17 +86,12 @@ export const Renderer = ({ message, opt = {}, plugin }: RendererProps) => {
...
@@ -86,17 +86,12 @@ export const Renderer = ({ message, opt = {}, plugin }: RendererProps) => {
setClose
(
true
)
setClose
(
true
)
}
}
const
_errorClick
=
(
errFile
,
errLine
,
errCol
)
=>
{
const
_errorClick
=
async
(
errFile
,
errLine
,
errCol
)
=>
{
if
(
errFile
!==
plugin
.
getAppParameter
(
'currentFile'
))
{
if
(
errFile
!==
plugin
.
getAppParameter
(
'currentFile'
))
{
// TODO: refactor with this._components.contextView.jumpTo
// TODO: refactor with this._components.contextView.jumpTo
const
provider
=
plugin
.
fileProviderOf
(
errFile
)
if
(
await
plugin
.
fileExists
(
errFile
))
{
if
(
provider
)
{
provider
.
exists
(
errFile
).
then
(()
=>
{
plugin
.
open
(
errFile
)
plugin
.
open
(
errFile
)
plugin
.
call
(
'editor'
,
'gotoLine'
,
errLine
,
errCol
)
plugin
.
call
(
'editor'
,
'gotoLine'
,
errLine
,
errCol
)
}).
catch
(
error
=>
{
if
(
error
)
return
console
.
log
(
error
)
})
}
}
}
else
{
}
else
{
plugin
.
call
(
'editor'
,
'gotoLine'
,
errLine
,
errCol
)
plugin
.
call
(
'editor'
,
'gotoLine'
,
errLine
,
errCol
)
...
...
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