Skip to content

Move the location of the run/debug links to just above the function. #4152

@bsutton

Description

@bsutton

Dart-Code: v3.48.3

When debugging unit tests (or any main) dart-code places a two links above the function Run | Debug.

The links launch the app.

I often use these when working on unit tests.

My (minor) problem is that the Run | Debug links are placed above the comments associated with the method:

image

As you can see from the image I often have rather long comments sections.

When iterating over a unit test to isolate a problem I'm having to constantly scroll from the code in the unit test (that I'm editing) back up to the Run | Debug links.

It would be much more convenient if these links where just above the function (main) rather than above the comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in commandsRelates to commands (usually invoked from the command Palette)in debuggingRelates to the debug adapter or process of running debug sessionsin editorRelates to code editing or language featuresis enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions