I'm just a programmer like your guys. Which means,
I do following eeevery single day!
uhh... not good at all I think
I think after if block, when I type "el" through the keyboard, "else" must be positioned at the very first of completion recommendation.
Can developers who charge with Intellij Rust Plugin kindly consider this part?
jjpe
June 9, 2021, 12:18pm
2
This seems to me like it's more at home on users.rust-lang.org .
The internals forum is for matters internal to the development of the Rust language.
I see, sorry about that. My bad
1 Like
This seems like a borderline case, since it's for an actual language developer tool.
In any case, the ideal place is the issue tracker for intellij-rust itself. It's definitely a bug in there. Issues · intellij-rust/intellij-rust · GitHub
5 Likes
I agree with the people saying this post is off-topic for this forum, so apologies for responding but...
I've been a long-time Rust IntelliJ Plugin user, and I'm not even sure what problem you're trying to illustrate here...
What sequence of keys are you even hitting?
If I try to tab complete } e
in that position, I get env!
, not eprintln!
, which is suboptimal, but I usually just type out else
, and if you really want to tab complete your elses, at least for me tab completing el
is sufficient...
Anyway, you probably want to file a bug report here: Issues · intellij-rust/intellij-rust · GitHub
I acknowledged vagueness of my post either and as your advice, I issued it.
opened 02:05PM - 09 Jun 21 UTC
<!--
Hello and thank you for the issue!
If you would like to report a bug, we … have added some points below that you can fill out.
Feel free to remove all the irrelevant text to request a new feature.
-->
## Environment
* **IntelliJ Rust plugin version:** 0.4.148.3911-211
* **Rust toolchain version:** 1.52.1 (9bc8c42bb 2021-05-09) x86_64-pc-windows-msvc
* **IDE name and version:** CLion 2021.1.1 (CL-211.7142.21)
* **Operating system:** Windows 10 10.0
* **Macro expansion engine:** new
* **Name resolution engine:** new
## Problem description
I actually have no idea about what most Rustaceans are doing when trying to use `else` keyword, but personally, I usually just type "el" and enter: let IDE complete it.
What makes me very uncomfortable is following

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

If I type "els" it shows me else finally, but I've always used just "el" to type `else` and there was no problem to type `else` properly except for this case in my entire programming experience. (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.
<!--
Please include as much of your codebase as needed to reproduce the error.
If the relevant files are large, please provide a link to a public repository or a [Gist](https://gist.github.com/).
-->
Thanks for thoughtful answer, I should have explained it more precisely.
2 Likes
system
Closed
September 8, 2021, 12:23am
7
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.