Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Debug Visualizer #320

Open
Tracked by #214
zero-plusplus opened this issue Mar 10, 2024 · 4 comments
Open
Tracked by #214

Support Debug Visualizer #320

zero-plusplus opened this issue Mar 10, 2024 · 4 comments
Labels
destructive change enhancement New feature or request

Comments

@zero-plusplus
Copy link
Owner

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
Copy link
Sponsor

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

@zero-plusplus
Copy link
Owner Author

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
Copy link
Sponsor

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
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
destructive change enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants