Replies: 1 comment
-
Please open issues, not discussions, for bugs. I created #18868. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using theia, and you have something like this it doesn't work.
But if you were to just add like add_label_to_loop, it works:
Another interesting case is this one:
If you do "split import" or "remove whole use item" they work but remove all unused imports doesn't.
From the looks of it, replacing with
syntax::ted::replace
is the issue. Replacing, adding and deleting works unless it touches that function.Is this an issue with Theia or an underlying issue with how rowan's splice_children works? I know it works with vscode, but sometime things are done in workaround manners (like match arms in analyzer plugin has a bunch of FIXME there)
For now I opened a ticket with Theia:
eclipse-theia/theia#13922
But it has been a while and likely it being rust and not javascript, if someone isn't explicitly familiar with rust I can understand the hesitation to go through it all. Anyone have any idea what the issue can be?
Edit:
I compiled it with with debug=2 and I got this error:
Beta Was this translation helpful? Give feedback.
All reactions