Repository: vscode
Issue: No hint shown when hovering over type in debugger variables view
Labels: bug,debug


Type: <b>Bug</b>

In #214315, the debugger variables view was changed to show the types of variables. However, if the variable name + type name (with scoped types which might have multiple modules in it, this happens easily; also think of parametrized types) becomes too long for the variables window, of course the value of the variable can no longer be displayed, and the type might also not be display fully.
I would now expect that when I hover over the visible part of the type, I'll get a hint that tells me both the full type as well as the name of the variable. But instead, no hint appears at all, not even for the type itself. I have to resize the variables pane until it is wide enough to show at least the first character of the value, which is both annoying and can sometimes take half to full the screen.
In contrast to this, hovering over the variable name shows the variable name; and hovering over the value (if it is visible) shows the value. I would rather favor an implementation in which the hint shows the value of the full row instead of just the column the mouse is over - who knows, maybe the variable name will also be too long, so that even the type is not shown?

VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Windows_NT x64 10.0.22621

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|63.75GB (32.00GB free)|
|Process Argv|--crash-reporter-id a63676af-726b-415c-a109-15abbaf1887c|
|Screen Reader|no|
|VM|67%|

Connection to 'SSH: pi' could not be established  Connecting with SSH timed out
</details><details><summary>Extensions (50)</summary>

Extension|Author (truncated)|Version
---|---|---
pythoncpp-debug|ben|0.3.0
composer-php-vscode|DEV|1.54.16574
intelli-php-vscode|DEV|0.12.15062
phptools-vscode|DEV|1.54.16574
profiler-php-vscode|DEV|1.54.16574
sync-scroll|dqi|1.3.1
gitlens|eam|16.1.1
texlab|efo|5.21.0
prettier-vscode|esb|11.0.0
linter-gfortran|for|3.2.0
msys2|fou|0.10.0
vscode-cpython-extension-pack|fra|0.1.0
codespaces|Git|1.17.3
remotehub|Git|0.64.0
vscode-github-actions|git|0.27.0
jbockle-format-files|jbo|3.4.0
language-julia|jul|1.83.2
regionfolder|map|1.0.22
language-matlab|Mat|1.3.0
git-graph|mhu|1.30.0
debugpy|ms-|2024.15.2024121701
isort|ms-|2023.10.1
python|ms-|2024.22.1
vscode-pylance|ms-|2024.12.1
jupyter|ms-|2024.11.0
jupyter-keymap|ms-|1.1.2
jupyter-renderers|ms-|1.0.21
vscode-jupyter-cell-tags|ms-|0.1.9
vscode-jupyter-powertoys|ms-|0.1.1
vscode-jupyter-slideshow|ms-|0.1.6
remote-containers|ms-|0.394.0
remote-ssh|ms-|0.116.1
remote-ssh-edit|ms-|0.87.0
remote-wsl|ms-|0.88.5
vscode-remote-extensionpack|ms-|0.26.0
azure-repos|ms-|0.40.0
cmake-tools|ms-|1.19.52
cpptools|ms-|1.22.11
cpptools-extension-pack|ms-|1.3.0
hexeditor|ms-|1.11.1
makefile-tools|ms-|0.11.13
remote-explorer|ms-|0.4.3
remote-repositories|ms-|0.42.0
unicode-latex|oij|1.2.0
ninja|sur|0.0.1
cython|tcw|0.1.0
pdf|tom|1.2.2
cmake|twx|0.0.17
php-debug|xde|1.35.0
explicit-folding|zok|0.24.1

(1 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
a9j8j154:30646983
962ge761:30959799
9b8hh234:30694863
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc1:31192215
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624

```

</details>

<!-- generated by issue reporter -->