kitamstudios / rust-analyzer.vs

Rust language support for Visual Studio 2022
https://marketplace.visualstudio.com/items?itemName=kitamstudios.RustAnalyzer
Other
147 stars 11 forks source link

Passing arguments to run/debug #13

Closed r1sc closed 1 year ago

r1sc commented 1 year ago

Maybe I missed it, is it possible? If not it would be great if we could do that somehow.

EDIT: By the way, nice job on the extension! :)

parthopdas commented 1 year ago

thank you. you comment makes all the effort worth it ❤️

yes it is possible

  1. right click on cargo.toml and click properties and you can set it like this image

  2. for examples, you can right click on the example file and set it simillarly

parthopdas commented 1 year ago

i have been putting off writing the documentation, which i will as soon as the next release goes out.

parthopdas commented 1 year ago

also @r1sc if you do cross platform development (e.g. build on windows target wsl2) i would like to hear your thoughts on #10 i.e. what would an ideal experience look like?

parthopdas commented 1 year ago

please reactivate if you have additional feedback