Stream: t-compiler/wg-rls-2.0

Topic: VSCode plugin and debugging


Charles Lew (Nov 21 2019 at 07:06, on Zulip):

Maybe it's a bit too much to ask here, but i really really wish that the VSCode Rust plugin could integrate with debugging support, and provide a smoother out of box experience.

matklad (Nov 21 2019 at 07:40, on Zulip):

@Charles Lew IIRC, debugging is handled entrely by https://github.com/vadimcn/vscode-lldb. There are certainly some things that debugger and rust-analyzer could share in theory, but I am not sure if that is practical (ie, that required APIs exist can or can be added easily)

Laurențiu Nicola (Nov 21 2019 at 08:52, on Zulip):

One thing that would be nice is if RA could configure the build and run tasks in tasks.json

Laurențiu Nicola (Nov 21 2019 at 09:00, on Zulip):

There's also the "Rust Analyzer: Run" command, but it feels less integrated and acts a bit strangely: it doesn't seem to show "run binary" after loading a binary project, but I can still click "Run" above fn main and it will show up afterwards.

Laurențiu Nicola (Nov 21 2019 at 09:02, on Zulip):

And that "Run" sometimes disappears.

Last update: Dec 12 2019 at 00:50UTC