microsoft / vscode-hexeditor

VS Code Hex Editor
https://marketplace.visualstudio.com/items?itemName=ms-vscode.hexeditor
MIT License
523 stars 84 forks source link

add copy selection as different formats and paste hexstring support #498

Closed lorsanta closed 3 months ago

lorsanta commented 5 months ago

Ref #411 and #341.

I added a copyAs command accessible from the context menus when right-clicking within the webview. The different copyAs functions in copyAs.ts come from here https://github.com/stef-levesque/vscode-hexdump.

I’ve also introduced an encoding option that enables the pasting of hex strings, in addition to utf-8 and base64 strings.

lorsanta commented 3 months ago

As I wrote here https://github.com/microsoft/vscode-hexeditor/pull/521#issuecomment-2093413275, because of #521 I think now it makes sense to rename all occurrences of copyAs to copyValueAs. What do you think?

connor4312 commented 3 months ago

thanks for the PR!

joeriddles commented 2 months ago

Has this change been released yet? I don't see mentioned of it in the CHANGELOG.