Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Moving Breakpoints by Drag and Drop #234890

Closed
DieTapete opened this issue Nov 29, 2024 · 3 comments
Closed

Enable Moving Breakpoints by Drag and Drop #234890

DieTapete opened this issue Nov 29, 2024 · 3 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality

Comments

@DieTapete
Copy link

Feature Request: Enable Moving Breakpoints by Drag and Drop

Summary

Allow users to move breakpoints to a different line within the same file by dragging and dropping them. This would improve usability when managing breakpoints, especially complex ones with conditions or hit counts.

Problem

Currently, to change the line of a breakpoint, users need to delete it and manually add it to a new line. This can be cumbersome, particularly when the breakpoint has custom conditions or hit counts that need to be reconfigured.

Proposed Solution

Enable drag-and-drop functionality for breakpoints. Users should be able to:

  1. Click and hold on a breakpoint marker in the gutter.
  2. Drag the marker up or down to a new line within the file.
  3. Drop the marker to move the breakpoint, preserving all associated properties (e.g., conditions, hit counts, log messages).

Benefits

  • Reduces friction during debugging sessions.

Additional Considerations

  • Handle cases where the new line is invalid for a breakpoint (e.g., blank lines or comments) gracefully by either disallowing the drop or moving to the closest line.
@rebornix rebornix added feature-request Request for new features or functionality debug Debug viewlet, configurations, breakpoints, adapter issues labels Dec 16, 2024
@vs-code-engineering vs-code-engineering bot added this to the Backlog Candidates milestone Dec 16, 2024
Copy link

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@roblourens
Copy link
Member

#88227

@roblourens roblourens added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 18, 2024
@roblourens
Copy link
Member

Old popular request :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants