Home > Article > Development Tools > How to view hexadecimal in vscode
I found that Visual Studio Code is very useful, whether it is used as a source code editor or a text editor on the Win platform.
But sometimes it is necessary to view the contents of the data file in hexadecimal format. When using VSCode to open such a file, it prompts "is binary or use an unsupported text encoding" . (Recommended learning: vscode introductory tutorial)
How to display files in hexadecimal format? Some developers provide a tool called Hexdump for VSCode in the Visual Studio Marketplace. Plug-in (Friends who use Linux all know hexdump).
1) Install Hexdump: Press Ctrl P in VSCode to activate and open the window, enter "ext install slevesque.vscode-hexdump", VSCode will automatically install the plug-in (networking required)
2) Use Hexdump: Select the file to be browsed in the VSCode file browsing window, right-click the mouse, and select "Show Hexdump" in the pop-up menu, so that the file will be opened and displayed as Displayed in hexadecimal format.
The above is the detailed content of How to view hexadecimal in vscode. For more information, please follow other related articles on the PHP Chinese website!