microsoft / vscode-cmake-tools

CMake integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools
MIT License
1.48k stars 456 forks source link

CMake Debugger - Feature Request - Hover on locals #3334

Open Ryanf55 opened 1 year ago

Ryanf55 commented 1 year ago

Brief Issue Summary

It would be great when using the CMake Debugger to be able to hover over locals to view their value.

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

Right now, you have to copy the variable name, search it in the debug variables panel, and click filter.

Being able to hover directly over the file would save time.

gcampbell-msft commented 1 year ago

@Ryanf55 Thanks for the request!

thokra1 commented 8 months ago

Just wanted to add, that this should be extended to any kind of symbol. For instance, the same goes for cache values that might have been passed in.

Adding a watch for symbols works, but is tedious. The "search&filter" approach is even more tedious, since it only highlights the section under which the symbol can be found and filtering only filters out non-matching sections. You still have to expand the section manually before you're actually gonna see the symbol you're looking for.