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

Add debug var context menu view as hex/bin #130

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

yuxiaomao
Copy link
Collaborator

The original idea is to display haxe.EnumFlags<> as Hex & Binary format in the debugger, but as it's an abstract of Int and difficult to know the original type at runtime.
The second thought is to display the Int value as Hex & Binary format when required, which is support by "debug/variables/context" context menu contribution in VSCode (Ref microsoft/vscode#28025).

So I just made a small Int to Hex & Bin converter in Extension (* which do not require communication between extension.js and adapter.js). Usage:
image
image

@yuxiaomao yuxiaomao merged commit e5c8984 into vshaxe:master Mar 26, 2024
1 check passed
@yuxiaomao yuxiaomao deleted the dev-formatint branch March 26, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant