Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Debug Hover Widget - Enable the widget resizing for long items whose overflow is hidden #52511
It would be very useful to implement the resizing for the Debug Hover Widget. Sometime happen that during a debug session you want to check the content of a variable of a complex object. If this content overflows the default widget's width (324px), It is hidden.
I checked the component source code files (debugHover.css & debugHover.ts) and i noticed that the widget sizes are hard coded as:
height= item number (max 18) * 18px = max 324px; (
Trough 'git blame' i noticed that you are the author and for sure you should know better than everyone the ground up of this component.
I tried to "play" directly with the Developer Tools and some nice bheaviour could be reached without modify the JS/TS code for a basic horizontal resizing:
I am new to the VS Code contribution (this is my first approach). How should we do for carry on this improvements. Should users vote for it?
Of course my code is just an example and this component should be modified more deeply.
Waiting for you feedback.
@liguori thanks for verifying -> adding verified label
Regarding my second point the use case you described is the one I am talking about (hide and show again the debug widget). I didn't notice this behavhior: once the widget is hidden, when showed again the tree is restored to the initial state but the scrollbar keep the previous scrolled position.
I will double check it and I will try to make a screencast for show you what I mean,