The (Customizable) Binary File ViewerSupportIf you like the "Binary File Viewer" please consider supporting it. HelpIn vscode's command palette run: 'Binary File Viewer: Show Help'. That will open a help page explaining the concept and the available API. There exists also a basic walkthrough. You can open it from the command palette via: 'Get Started: Open Walkthrough...' -> 'Binary File Viewer'. Binary File ViewerThe 'Binary File Viewer' is a framework that allows you to build your own custom viewers for binary files. These files can be either existing file formats for which no vscode extension exists or also proprietary file formats. I.e. file formats that you build on your own and for which you would like to have a convenient way to look inside. To tell the 'Binary File Viewer' what files to decode and how, you have to provide a javascript file. Besides the display of numerical and binary values there is also support for graphic visualization with charts or a canvas. ExamplesBasic example: Memory dump: Charts: InstallationInstall through Visual Studio Code Marketplace. The extension is called "Binary File Viewer". UsageTo understand how to build own parser scripts please refer to the Help. To use it:
To use the 'Binary File Viewer' as default for some file extension:
Note: The same default behavior can be achieved by editing the settings, e.g.: AcknowledgementsThis extension makes heavy use of the "chart.js", the "chartjs-plugin-zoom" and the "hammer.js" libraries. Further used libraries are: Many thanks to all the authors. |