codelite icon indicating copy to clipboard operation
codelite copied to clipboard

[Feature Request] An ability to rearrange watches in the debugger pane

Open Eric-01 opened this issue 2 years ago • 2 comments

It could be a nice addition if you added an ability to rearrange watches (and eventually locals too) in the debugger pane. Three (mutually exclusive?) options for implementing this that come to my mind are by adding:

  • support for dragging and dropping particular lines to the desired positions
  • a few toolbar buttons like "Move Up", "Move Down", "Move to Top", "Move to Bottom" that would manipulate the position(s) of the currently selected row(s)
  • the same options as above to the right-click context menu, however, the downside here is that if you wanted to move a row up by 3, for example, you would have to click 3 times in 3 different positions, because after each single move, the context menu would obviously be moved by several pixels as well.

Another suggestion on this topic, which unfortunately has been closed as stale: #2135.

Eric-01 avatar Jul 02 '22 10:07 Eric-01

the problem is that there is no persistent id that we can use to associate the ui element with the debugger data. I believe this is doable for watches, but not for automatic scope variables

eranif avatar Jul 20 '22 06:07 eranif

I would really appreciate it if you implemented something like this even just for watches in the new DAP-based debugging system of course, as it seems that the old one is likely to be phased out soon. However, if you think it will be too difficult and basically not worth the effort, feel free to close this feature request.

Eric-01 avatar Jul 23 '22 12:07 Eric-01

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs (within 5 days). Thank you for your contributions.

stale[bot] avatar Nov 12 '22 12:11 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs (within 5 days). Thank you for your contributions.

stale[bot] avatar Jun 18 '23 16:06 stale[bot]