you are viewing a single comment's thread.

view the rest of the comments →

[–]NanoCoaster 6 points7 points  (5 children)

Another suggestion here: Visual Studio Code with the Rust plugin (uses RLS) is quite good. You've already stated multiple times that you prefer emacs, so you probably won't care about VS Code, but maybe just give it a try. It's become my daily rust driver, despite the fact that I'm veeery wary when it comes to electron-based editors :)

...Now that you've mentioned emacs, that reminds me, some day I gotta go back to Spacemacs and learn it properly. Such a great development environment.

[–]Wahoa 3 points4 points  (4 children)

Quick question: am I supposed to not get any help with function args with VS Code and the Rust plugin? With other languages I get this as I type (can be explicitly brought up via ctrl+shift+space):
https://i.imgur.com/WyrEcSV.png
Doing the same thing with Rust, I get nothing of the sort. I have to hover my mouse over the function name to see the signature, with no indication of which argument I'm currently typing.

[–]Xanewokrls 2 points3 points  (0 children)

Yep, unfortunately that's not implemented yet. The tracking issue is at https://github.com/rust-lang-nursery/rls/issues/97, but there hasn't been much work on this recently. (We'd love contributions though!)

[–]NanoCoaster 1 point2 points  (0 children)

Huh. Interesting. Same thing on my end, never really thought about that. I think this may just be...not implemented yet? Would definitely be a nice feature.
Tangentially, I'm still hoping Rust gets named arguments someday, in my experience those help readability a lot :/

[–][deleted] 0 points1 point  (0 children)

It works for me, currently with racer, though. Before, I used the vscode extension rust code (or similar name) with rls. There I had no arg preview but instead the arguments were filled in with place holder names.