How do I see a bin file in a hex editor in Visual Studio Code?

bubismark picture bubismark · Aug 11, 2016 · Viewed 59.1k times · Source

I have a bin file holding all my instruction cache and data cache for my Verilog project, and I want to see it as the Notepad++ hex editor shows its meaning, hex representation view. Is there a way to configure this?

Or maybe an extension that provides this functionality?

Answer

Kouga picture Kouga · May 16, 2017
  1. Install this extension: Hexdump for VSCode. It can display a specified file in hexadecimal.

  2. Open the file/image/whatever you want to display in hex mode in Visual Studio Code, then press Ctrl + Shift + Alt + H. That's it.

  3. Or press Ctrl + P then input Show hexdump from path to open a file in hex mode directly.