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

Draggable logpoints and breakpoints in gutter #182133

Closed
johncrim opened this issue May 10, 2023 · 4 comments
Closed

Draggable logpoints and breakpoints in gutter #182133

johncrim opened this issue May 10, 2023 · 4 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

@johncrim
Copy link

Frequently after editing a file, breakpoints and logpoints are no longer positioned on the correct line. While handling that better would be nice (as a separate feature request), the initial request is the ability to drag logpoints and breakpoints up and down the gutter to reposition them.

Today, if I try this either the breakpoint/logpoint is removed, or I receive the following prompt:

image

Moving a non-conditional breakpoint is no big deal (F9 + F9).

But to move a logpoint, or conditional breakpoint, today I have to:

  1. Open the condition or logpoint, select all the text, and copy it to the clipboard
  2. Right click in the gutter, then choose "Add Conditional Breakpoint..." or "Add Logpoint...", then paste the text into the text box, then hit enter.
  3. Click the previous logpoint or conditional breakpoint to delete it, read the dialog message, and then choose "Remove Logpoint" (or equivalent).

Being able to move the line number associated with a logpoint or breakpoint by dragging it would be a big improvement.

@johncrim johncrim changed the title Draggable logpoints and breakpoints in gutters Draggable logpoints and breakpoints in gutter May 10, 2023
@roblourens roblourens added feature-request Request for new features or functionality debug Debug viewlet, configurations, breakpoints, adapter issues labels May 11, 2023
@vscodenpa vscodenpa added this to the Backlog Candidates milestone May 11, 2023
@vscodenpa
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!

@joyceerhl
Copy link
Contributor

Is this a duplicate of #88227?

@johncrim
Copy link
Author

Thanks @joyceerhl - I would say yes, it's a duplicate if the scope of #88227 were expanded to include logpoints - there's no mention of logpoints in the issue. I'll add a comment there to try to figure out if they're the same.

@roblourens
Copy link
Member

Yes, I'll say it's a dupe

@roblourens roblourens added the *duplicate Issue identified as a duplicate of another issue(s) label May 24, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jul 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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

4 participants