atom-ide-rust
atom-ide-rust copied to clipboard
Add the ability of build and debug
This repo is great for Atom users, but in my opinion, to make ide-rust work more like a real IDE, it should have the ability of build a rust project (may use cargo run
) with error messages displayed in diagnostics
(like build-cargo), and run the executable file in the terminal provided by atom-ide-ui as well as debug it inside Atom so we can test the program directly.
Yes running + debugging would be useful. RLS already handles building & build errors.
I think the simplest place to start would be adding a command to run the current project in a atom-ide-ui terminal. If the command is re-run we reuse/replace the same terminal.
It's probably more complicated to get debugging working, but that would be great to have.
Only 3 other project support Debugger (https://areweideyet.com/) and Eclipse would be the project to use as reference to figure this out. (I have not personally tested it but assume code is most "accesible" atleast)
edit : https://github.com/eclipse/corrosion/tree/master/org.eclipse.corrosion/src/org/eclipse/corrosion/debug
I think a Debugger is THE FEATURE that can give an Editor status as "IDE".
Looks like the VS Code plugin supports debugging now, so that might be a better reference than Eclipse?
It would be easier if there is a atom base package which implements Debug Adapter Protocol
Are we going to get this feature soon?