Can I hex edit a file in Visual Studio?

2020-02-02 04:44发布

I want to edit a binary file, but I don't want to use another tool other than Visual Studio because it's a pain to switch back and forth.

Is there perhaps an add-in or some built in functionality that can do that in Visual Studio?

2条回答
手持菜刀,她持情操
2楼-- · 2020-02-02 04:53
  1. Menu FileOpenFile
  2. Select the file to be opened
  3. On the open file dialog at the bottom there is a down arrow on the "Open" button
  4. Click "Open With..."
  5. Click "Binary Editor"
  6. Click OK

Or for the keyboard geeks out there:

  1. Ctrl + o
  2. Ctrl + v (paste filename)
  3. tab
  4. tab
  5. w
  6. b
  7. Enter
查看更多
做个烂人
3楼-- · 2020-02-02 04:55

In addition to Kevin's answer, with Visual Studio 2017 you need to have the Visual Studio C++ Core Features component installed.

Source

查看更多
登录 后发表回答