Skip to content

Implement context menu copy functionality for data values #163

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

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

SquareMan
Copy link
Contributor

Firstly this makes a minor change to the way negative integers are displayed. Now there will be separate tooltip entries for the signed and unsigned interpretations.

image

Code-wise under the hood formatting the data bytes has been decoupled from the data type prefix.

These changes allow the context menu to be extended with new options to copy data literals to the clipboard.

image

image

Future extensions may include interpretations of integers for other bases (especially base10), but I'm not sure if it would cause too much clutter in the tooltip menu for now.

@SquareMan
Copy link
Contributor Author

Pretty sure the cargo deny failure isn't my fault right?

@encounter
Copy link
Owner

Right, it looks like that's just a security advisory.

Thanks for the PR!

@encounter encounter merged commit 674c942 into encounter:main Feb 10, 2025
17 of 18 checks passed
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.

2 participants