Open jonasseglare opened 1 year ago
Thanks for this report. I suspect an earlier error has incorrectly closed the content-assist session and some handlers are left active while they should not and then keeps erroneously capturing some keybinding events. Can you please check the whole log file, maybe there is something hinting about a possible root cause?
@mickaelistria I can attach the log file. The first occurrence of the kind of log entry that I referred to in my initial message starts with
!ENTRY org.eclipse.ui 4 0 2023-01-02 17:29:14.508
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException: Cannot invoke "org.eclipse.swt.widgets.Table.isDisposed()" because "this.this$0.fProposalTable" is null
in the attached log file. To clarify, the Emacs keybindings do work before I start typing code. It is just once the autocomplete and code assistance kicks in that it stops working.
I tried to reproduce the problem again around 2023-01-02 21:50
and still have the same problem, that the key bindings stop working when I try to type code. But now, for some reason, no error log entries are produced as I try to type emacs commands to move the cursor, etc.
I confirm I can reproduce the issue (lost some Emacs shortcuts) with the IDE from https://download.eclipse.org/corrosion/releases/latest/products/ ; however, I do not see the same stack trace in the log.
Description of problem
I have a fresh Eclipse installation to which I added the Corrosion plugin from https://download.eclipse.org/corrosion/releases/latest/. Soon after I start editing a Rust file and it starts to autocomplete and assist me while editing, common keybindings stop working, such as
Ctrl + A
(go to beginning of line),Ctrl + N
(go to next line) etc. I use the Emacs keybindings scheme that I chose in the drop-down menu underWindow -> Preferences -> General -> Keys
.How to reproduce
rust
usingrustup
.~/uppackat/eclipse-rust
.~/eclipse-rust-workspace
as my workspace.Window -> Preferences -> General -> Keys
~/prog/rust/blueprint
.~/src/main.rs
by adding a functionfn gcd(mut n: u64, mut m: u64) -> u64 {let a = 4;}
but very soon as I was typing and the Corrosion plugin started assisting me, the Emacs bindings such as those to move the cursor (Ctrl + n
,Ctrl + p
,Ctrl + f
andCtrl + b
) stopped working.Error Log
(open it fromWindow -> Show view -> Error Log
). See below for details about the error.Details from Error Log
Here are details from the error that appears in the Error Log when I type an Emacs key command that isn't working.
Details:
Exception Stack Trace:
Session data: