Skip to content

stef-levesque/vscode-hexdump

Repository files navigation

vscode-hexdump

GitHub issues GitHub license button VS Code marketplace button Gitter chat button

hexdump for Visual Studio Code

Description

Display a specified file in hexadecimal

Main Features

Right-click on a file in the explorer to see Show Hexdump
Show hexdump

Hover in the data section to see numerical values
Hover DataView

Hover a selection to preview it as a string
Hover String

Right-click in the hexdump to see more options
Context Menu

Colorize modified bytes
Modified Bytes

Show Hexdump button
Title Icon

Commands

  • hexdumpFile (ctrl+shift+alt+h, cmd+shift+alt+h) Show Hexdump for the current file
  • hexdumpPath Show Hexdump for a specific path
  • hexdumpOpen Show Hexdump for a file selected in an Open dialog
  • editValue (shift+enter) Edit Value Under Cursor
  • gotoAddress (ctrl+g) Go to Address...
  • exportToFile (ctrl+shift+s, cmd+shift+s) Export to Binary File...
  • save (ctrl+s, cmd+s) Save file
  • searchString (ctrl+f, cmd+f) Search String in File
  • searchHex (ctrl+alt+f, cmd+alt+f) Search Hex String in File
  • copyAsFormat (ctrl+alt+c, cmd+alt+c) Copy the selection in a specific format

Configuration

  • hexdump.littleEndian Set default endianness (true for little endian, false for big endian)
  • hexdump.nibbles How many nibbles per group (2, 4, 8)
  • hexdump.uppercase Display hex digits in uppercase
  • hexdump.width Number of bytes per line (8, 16, 32)
  • hexdump.showOffset Show offset on first line
  • hexdump.showAddress Show address on each line
  • hexdump.showAscii Show ASCII section
  • hexdump.showInspector Show Hex Inspector when hovering data
  • hexdump.sizeWarning Display a warning if file is larger than this
  • hexdump.sizeDisplay Maximum size of the buffer to display
  • hexdump.charEncoding Identify the source character encoding
  • hexdump.btnEnabled Display Hexdump button

Installation

  1. Install Visual Studio Code (1.17.0 or higher)
  2. Launch Code
  3. From the command palette ctrl+shift+p (Windows, Linux) or cmd+shift+p (OS X)
  4. Select Install Extension
  5. Choose the extension hexdump for VSCode
  6. Reload Visual Studio Code

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Requirements

Visual Studio Code v1.17.0

Credits

License

MIT

About

hexdump for Visual Studio Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published