Page 1 of 1
IDE resizable toolwindow for debug when hovering over a structure/variable
Posted: Tue Feb 18, 2025 12:24 am
by PrincieD
Hi Fred and team!
Currently it's really frustrating in the IDE when you're debugging and you hover over a variable or structure to see a peek of the contents and the tooltip window is a fixed size cutting off the exact fields you need to see the contents of

It would be great if you could make that a resizable tool window instead of a tooltip.
Cheers!
Chris.
Re: IDE resizable toolwindow for debug when hovering over a structure/variable
Posted: Tue Feb 18, 2025 12:51 am
by ChrisR
Hi PrincieD
Is it the same as the pull request: Debugger max Structures Fields to Display in Tooltip
#287
To always displayed the tooltip with the maximum number of structure fields, depending on the mouse position, but horizontally this time ?
Re: IDE resizable toolwindow for debug when hovering over a structure/variable
Posted: Tue Feb 18, 2025 1:04 am
by PrincieD
ChrisR wrote: Tue Feb 18, 2025 12:51 am
Hi PrincieD
Is it the same as the pull request: Debugger max Structures Fields to Display in Tooltip
#287
To always displayed the tooltip with the maximum number of structure fields, depending on the mouse position, but horizontally this time ?
Ahh yes Chris that looks like the problem, although a scrollbar would be awesome too!
Re: IDE resizable toolwindow for debug when hovering over a structure/variable
Posted: Tue Feb 18, 2025 1:06 am
by PrincieD
So I can pull that build Chris? is it pre-compiled?
Re: IDE resizable toolwindow for debug when hovering over a structure/variable
Posted: Tue Feb 18, 2025 1:29 am
by ChrisR
It should be integrated into PB 6.20 IDE and I hope it works as it should ?
But it's only done for the number of lines to display, it might be a good idea to do it horizontally as well, perhaps
And I agree with the scrollbar, it would be even better but, well, it's easier with the built-in scintilla tooltip
Re: IDE resizable toolwindow for debug when hovering over a structure/variable
Posted: Tue Feb 18, 2025 2:24 am
by PrincieD
ChrisR wrote: Tue Feb 18, 2025 1:29 am
It should be integrated into PB 6.20 IDE and I hope it works as it should ?
But it's only done for the number of lines to display, it might be a good idea to do it horizontally as well, perhaps
And I agree with the scrollbar, it would be even better but, well, it's easier with the built-in scintilla tooltip
Ahh sweet awesome Chris, I haven't downloaded the latest PB yet, that's a real win for debugging big structures

Many thanks for that I will try out tomorrow, it saves tediously having to go into the debug variable viewer and having to type out the structure path
Re: IDE resizable toolwindow for debug when hovering over a structure/variable
Posted: Tue Feb 18, 2025 8:40 pm
by ChrisR
I tried to enlarge the ToolTip horizontally, it's not too complicated and I can make a GitHub Pull Request.
But I can choose between a full ToopTip, from left desktop border to right border, or a ToopTip aligned with the mouse position to the right border.
For all those interested (and of course Fred if he passes by here), what do you think is best?
If you'd like to try it out to get a better idea, here's a zip with both PureBasic IDE compiled versions
PureBasic_Windows_X64_6.20_ToolTip.zip
Re: IDE resizable toolwindow for debug when hovering over a structure/variable
Posted: Wed Feb 19, 2025 12:28 am
by PrincieD
ChrisR wrote: Tue Feb 18, 2025 8:40 pm
I tried to enlarge the ToolTip horizontally, it's not too complicated and I can make a GitHub Pull Request.
But I can choose between a full ToopTip, from left desktop border to right border, or a ToopTip aligned with the mouse position to the right border.
For all those interested (and of course Fred if he passes by here), what do you think is best?
If you'd like to try it out to get a better idea, here's a zip with both PureBasic IDE compiled versions
PureBasic_Windows_X64_6.20_ToolTip.zip
It's actually the vertical tooltip cut-off for me Chris when you have lots of fields inside a structure.
Re: IDE resizable toolwindow for debug when hovering over a structure/variable
Posted: Wed Feb 19, 2025 1:23 am
by ChrisR
Yes, I agree Chris, same appreciation for me.
But being able to display a larger tooltip, instead of the hard-coded 100 chars, could be an additional bonus.
Re: IDE resizable toolwindow for debug when hovering over a structure/variable
Posted: Wed Feb 19, 2025 1:46 am
by PrincieD
ChrisR wrote: Wed Feb 19, 2025 1:23 am
Yes, I agree Chris, same appreciation for me.
But being able to display a larger tooltip, instead of the hard-coded 100 chars, could be an additional bonus.
Yes totally man, I'm currently quite busy with developing ProGUI V3 (again today fixed a few issues with skin animation transitions) - will definately check out your code tomorrow though mate (and download the latest PB build)