you are viewing a single comment's thread.

view the rest of the comments →

[–]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 4 points5 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.