BowlerHatLLC / BowlerHatLLC/vscode-swf-debug

Showing numbers defined as hex in hexadecimal format, not just decimal

Open
#52 4 comments 0 reactions 0 assignees View on GitHub
enhancement wontfix
Dominant language
Java
Stars
20
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Hello,

I was debugging some AS3 code, and I noticed that some variables that have a number in them, which was set in hex format, is shown as decimal in the debugger. As an example, I have this:

public static const STATE2:uint = 0xae03c339;
...
var gameState:uint = STATE2;

In VS Code this would look like this:
![image](https://github.com/BowlerHatLLC/vscode-as3mxml/assets/2738647/db504329-81e1-4e48-9f3c-b7c5cc2ed7f0)

In FlashDevelop and IntelliJ IDEA it shows it in both dec and hex:

![image](https://github.com/BowlerHatLLC/vscode-as3mxml/assets/2738647/0a30dc6c-3aac-4409-b16e-e3b7a8c34946)

I think it would be very useful to show those variables in both dec and hex, to avoid having to go to an external number converter. Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.