zero-plusplus / vscode-autohotkey-debug

https://marketplace.visualstudio.com/items?itemName=zero-plusplus.vscode-autohotkey-debug
52 stars 4 forks source link

Support Debug Visualizer #320

Open zero-plusplus opened 6 months ago

zero-plusplus commented 6 months ago

The ability to display the values of the variables currently provided in the Data Inspection context menu in various formats has been implemented as a dedicated UI in vscode 1.87.

Therefore, the current functionality in the context menu needs to be re-implemented.

SAbboushi commented 6 months ago

Have been very happy with how you implemented this (View as each Base Number, Copy as Hex...)

zero-plusplus commented 6 months ago

Perhaps the context menu may be left as it is.

This feature is the same as Data Visualisation in Visual Studio. The proposal can be found in vscode Issues (number 197287).

It would be more intuitive to use than it is now if, for example, each child item of a variable could be shown in its respective form, and actions such as copy could be performed on its value in the context menu, as shown below. However, as it requires one click to expand the tree, it may be worth retaining the context menu for variables as before to obviate this one click.

Variable: "123"
 - Text:    123
 - Decimal: 123
 - Hex:     0x7B
SAbboushi commented 6 months ago

I am wondering if it is possible to have a context menu upon hover (instead of having to locate the variable in the VARIABLES pane)?

zero-plusplus commented 6 months ago

I thought hover and VARIABLES pane had the same specification, but I noticed an issue where the context menu is not reflected when hovering.

It seems that I will have to wait until this feature is actually implemented before I can decide what to do.