GithubHelp home page GithubHelp logo

isabella232 / vscode-hexeditor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/vscode-hexeditor

0.0 0.0 0.0 12.23 MB

VS Code Hex Editor

Home Page: https://marketplace.visualstudio.com/items?itemName=ms-vscode.hexeditor

License: MIT License

JavaScript 1.39% TypeScript 98.61%

vscode-hexeditor's Introduction

A custom editor extension for Visual Studio Code which provides a hex editor for viewing and manipulating files in their raw hexadecimal representation.

Features

  • Opening files as hex
  • A data inspector for viewing the hex values as various different data types
  • Editing with undo, redo, copy, and paste support
  • Find and replace

User opens a text file named release.txt and switches to the hex editor via command palette. The user then navigates and edits the document

How to Use

There are three ways to open a file in the hex editor:

  1. Right click a file -> Open With -> Hex Editor
  2. Trigger the command palette (F1) -> Open File using Hex Editor
  3. Trigger the command palette (F1) -> Reopen With -> Hex Editor

The hex editor can be set as the default editor for certain file types by using the workbench.editorAssociations setting. For example, this would associate all files with extensions .hex and .ini to use the hex editor by default:

"workbench.editorAssociations": {
    "*.hex": "hexEditor.hexedit",
    "*.ini": "hexEditor.hexedit"
},

Configuring the Data Inspector

By default, the data inspector is shown just to the right of the data grid (or decoded text if enabled), but it can be configured (via the hexeditor.inspectorType setting) to instead show up while hovering over a data cell.

Another option is to give the data inspector a dedicated activity bar entry on the left (by setting hexeditor.inspectorType to sidebar) that appears when the hex editor is opened, causing the explorer or whatever sidebar you had opened to be hidden. If preferred, the hex editor view can be dragged into another view by dragging the ⬡ icon onto one of the other views. This can be used in combination with the hexeditor.dataInspector.autoReveal setting to avoid revealing the sidebar containing the data inspector altogether.

Known Issues

  • Undoing a pending edit causes editor to get into a bad state #161
  • Searching in large files can become hit or miss #149

To track all issues / file a new issue please go to the Github repo https://github.com/microsoft/vscode-hexeditor/issues

vscode-hexeditor's People

Contributors

cmxl avatar connor4312 avatar dependabot[bot] avatar fython avatar gustavoasc avatar haneefdm avatar ipeevski avatar jeanp413 avatar jwr1 avatar lramos15 avatar lszomoru avatar mjbvz avatar natecraddock avatar nlsdg avatar ohcanep avatar paamand avatar tyriar avatar varblane avatar vulpivia avatar whpac avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.