Intellij Rust Plugin! let me type "else" properly!

I actually have no idea about what you are doing when you try to use else keyword, but personally, I usually just type "el" and enter: let IDE complete it.

What makes me very uncomfortable is following
image

After if block, why in the world eprintln!() is recommended first followed by private fn and than finally and eventually else is recommended?

image
If I type "els" it shows me else finally, but I've always used just "el" to type else and there was no problem except for this case. (makes me insane!)

Can guys who work with Intellij Plugin kindly consider this when they develop it?
Imo, it doesn't make any sense in the given context.

1 Like

I don't know if the authors of that plugin read this forum. You may want to find their issue tracker.

I’ll try thanks

Heh, I recall noticing this a while ago: Bad completion sorting for `else { ... }` syntax · Issue #4424 · intellij-rust/intellij-rust · GitHub

1 Like

Quite posted far ago... Sad about it doesn't spot by authors

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.