remedybg-issues icon indicating copy to clipboard operation
remedybg-issues copied to clipboard

Allow for easier way to view really long strings in the watch window for types/values

Open sonictk opened this issue 3 years ago • 5 comments

Hi! Wondering if there's a simple way (like how VS makes use of on-hover tooltips for this which isn't ideal but at least is something) to allow RemedyBG to allow for displaying really long values/types in the Watch window easily in their entirety without having to resize the columns manually by hand each time to see the information. Even if double-clicking on the cell brings up a separate ImGui window to see the full text in it (so that it's easier to copy and paste a portion of it, rather than like VS's tooltips that show you everything quickly but can't let you copy parts to the clipboard), that would already be a massive improvement.

Any other solution that would help avoid having to resize the columns manually each time I have a long type name of something in the Watch window would also be appreciated! Hopefully this isn't too big of an ask.

sonictk avatar Jan 05 '22 17:01 sonictk

Will get something figured out for this. Thanks for the suggestion!

x13pixels avatar Jan 08 '22 14:01 x13pixels

I saw this in the 3.7.0 release notes:

Allow lifting string, memory, and table expressions into their own, independent windows. A zoom button on the "Value" header will appear in a watch window when one of these types of expressions is selected.

I tried to use this, but it seems like I'm missing a trick: I can't figure out how to get the zoom button to appear:

image

This might also be a different bug, but I'm also finding that the right-click context menu to format as specifiers isn't working for me; no matter what I select, it doesn't seem to add any syntax to the watch window:

image

Am I using this feature incorrectly somehow?

sonictk avatar Apr 04 '22 08:04 sonictk

Possibly something messed up with selection if neither of those is working as expected. Should see a zoom icon next to Value. image

x13pixels avatar Apr 04 '22 11:04 x13pixels

EDIT: Never mind, I found it. You're right, the icon does work, it just created the window to the size of the text being shown and it turns out the window was showing up super tiny for me since I only had a few characters in the string and totally missed it :)

I still can't get the Format as right-click context menu to work right, however; does it do something different other than automatically add the specifier for me to the watched variable? I still have to manually type the format specifier to my watched variable each time.

sonictk avatar Apr 05 '22 06:04 sonictk

Will make the initial window dimensions more sensible. Someone also suggested moving the icon to the row itself to make it a bit clearer. I'll see what's going on with the Format as. It should just append , str to the watch expression and was intended to document the various format specifiers (esp. the memory ones that I was always having to look up in the docs). Appreciate the feedback!

x13pixels avatar Apr 07 '22 02:04 x13pixels