-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some multi-line edits can cause Exception #203
Comments
Signed-off-by: Mickael Istria <mistria@redhat.com>
This is very annoying in Corrosion. It's now ~100% on autoformat. Sometimes it's a bit better but it probably depends on the source file's length (ie, the larger the file, the more likely this is to happen). Formatting in-editor is pretty much useless. I need to close and open editor windows again every single time I hit the format shortcut. If the file is large I lose track.
Besides, it's not just the syntax colouring which is affected. It also screws the error parser (via RLS?) and I end up with a lot of spurious errors in the Problems window. |
Still not fixed as 2019-08-21 (snapshots). This is a very annoying as it basically renders the editor's formatter completely unusable. |
Still not fixed as of 2019-09-26. |
I tried with gen.rs and conrod_gfx.rs from https://github.com/itadinanta/rust-oids and I still cannot reproduce deterministically. I could reproduce the issue once, in various attemps, when undoing a Format, but still fail at reproducing it often enough to debug it properly. |
Yep, I don't think it's deterministic, there must be a race condition somewhere, but should be frequent enough.Can you get at least 1 in 3? I don't think it's realistic to expect much more your side. It would be nice to find out why I do get it so often. It clearly isn't a machine thing. |
@norru: If you're still interested, you can install the snapshot from http://download.eclipse.org/tm4e/snapshots , then use https://help.eclipse.org/2019-09/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html to set an option file that sets |
Still open as of 2020-01-29. |
Just upgrade to Eclipse 2019.12, gonna try |
Thanks. |
Ah, ok! I need more time for setting this up then, I hoped I could test it on-the-fly. |
I added a document to give some hints about how to troubleshot issues: https://github.com/eclipse/tm4e/blob/master/documentation/TROUBLESHOOTING.md |
Still open as of 2020-12 |
Cannot reproduce with latest snapshots. Please reopen with details to reproduce if you can reproduce it. |
I've run the "Format" action on a .json file to expand it from
to
and then syntax highlighting stopped working and I got this exception
Closing the editor and opening it again fixes the issue.
The text was updated successfully, but these errors were encountered: