Skip to content

[Feature] Debug controls on top bar (specifically Features/Run) #115

Description

@fallborker

SUMMARY

It would be really nice to have the debug buttons on the toolbar! I've made some edits to show how it could look like - see attachments.

CURRENT BEHAVIOUR

There are no buttons to control the flow of the code being debugged. Because of that and a lack of tooltips, the controls are implied (F5, F10, F11, Shift+F11), which can be hard for, say, a beginner with little experience with IDEs to grasp.

EXPECTED BEHAVIOUR

If project is started without debugging, then current behaviour stays the same: show animated build icon, and a single stop button.

If project is started with the debugger attached, then the animated icon should be shown, followed by the common debug buttons: Continue, Step into, Step over, Step out, (optional: Restart debugging), (optional: Pause via DAP), and Stop debugging. All buttons except for Restart, Pause and Stop should be disabled unless the user is actively debugging via breakpoints.

Additionally, it would be incredibly helpful to add tooltips to all buttons in the Action (Keybind) format, like: Step over (F10). And also keybinds to debug and start the program (F5, Shift+F5 respectively).

ATTACHMENTS

Image Image

ADDITIONAL NOTES

I'm sorry for any inconsistencies, these images were made from two screenshots of a burner program I had lying around and a lot of time spent on Paint.NET editing the SharpIDE UI. The icons were taken from VSCode's icon gallery under the CC BY 4.0 license.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions