atom-ide-rust icon indicating copy to clipboard operation
atom-ide-rust copied to clipboard

Add the ability of build and debug

Open slanterns opened this issue 6 years ago • 5 comments

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.

slanterns avatar Dec 09 '18 14:12 slanterns

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.

alexheretic avatar Dec 09 '18 20:12 alexheretic

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".

dynnamitt avatar Jan 08 '19 09:01 dynnamitt

Looks like the VS Code plugin supports debugging now, so that might be a better reference than Eclipse?

josephrocca avatar Aug 13 '19 22:08 josephrocca

It would be easier if there is a atom base package which implements Debug Adapter Protocol

xavier83 avatar Oct 27 '19 12:10 xavier83

Are we going to get this feature soon?

ghost avatar Jul 18 '20 19:07 ghost