Skip to content

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

Closed

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.

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Sep 9, 2022
  2. added this to the v3.50.0 milestone on Sep 12, 2022
  3. added
    in editorRelates to code editing or language features
    in debuggingRelates to the debug adapter or process of running debug sessions
    in commandsRelates to commands (usually invoked from the command Palette)
    on Sep 12, 2022
  4. added a commit that references this issue on Sep 2, 2025
    7fc80c2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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 enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions