WpfHexEditor Studio is a IDE built on WPF and .NET 8, designed for advanced binary analysis and reverse engineering—combining a powerful hex editor, deep inspec
WpfHexEditor Studio is a IDE built on WPF and .NET 8, designed for advanced binary analysis and reverse engineering—combining a powerful hex editor, deep inspec
${\color{#2E7BDE}\texttt{}}$ is a full-featured binary analysis IDE for Windows, built with WPF and .NET 8. Think Visual Studio for binary files.
| ** Docking** (100% in-house) | Fully custom VS-style docking engine — float, dock, auto-hide, pin, colored tab strips, 16 built-in themes (Dark, Light, VS2022Dark, DarkGlass, Dracula, Nord, Tokyo Night, Catppuccin Mocha/Latte, Gruvbox Dark, Forest, Matrix, Synthwave 84, Cyberpunk, High Contrast…), tab placement left/right/bottom, layout undo/redo (Ctrl+Shift+Z/Y), serializable workspace state, VS-like drop overlay with active-tab gap and placement-aware tab styles (top/bottom CornerRadius switch) |
| ️ Project System | Open and build .whsln/.whproj native projects or Visual Studio .sln/.csproj/.vbproj solutions — MSBuild build/rebuild/clean with parallel project compilation, real-time build progress bar, virtual and physical folder organization, per-file editor state persistence, project template scaffolding |
** .whfmt — Declaration-Driven IDE** |
The ❤️ of the IDE — an in-house unified definition language that makes the entire application data-driven, not code-driven. 790+ definitions ship built-in (schema v2.3). .whfmt decides: which editor opens a file (Hex, Code, Image, Audio, JSON, Markdown…) · how binary formats are parsed (repeating blocks, unions, versioned structures, pointers, checksums, assertions, forensic alerts, variables, references) · how source languages behave in the Code Editor (syntax highlighting for 57+ languages, folding, bracket pairs, comment toggles, auto-close, indentation, end-of-block hints, breakpoint validation, whitespace rendering) · how formats are detected (magic bytes, confidence scoring, multi-signature, MIME types). Add a new file type? Write a .whfmt — no C# code needed. Also available as a standalone cross-platform NuGet package: whfmt.FileFormatCatalog. |
| ** Binary Intelligence** | Deep binary analysis toolkit — 790+ format auto-detection via magic bytes with confidence scoring, reactive Parsed Fields panel with expandable groups and FormatNavigator bookmark strip, format field color overlay directly on the hex view, Data Inspector showing 40+ type interpretations at caret (integers, floats, strings, GUIDs, dates, colors, IP addresses…), Assembly Explorer for .NET PE inspection with ILSpy C#/VB.NET decompilation |
| ** Code Intelligence** | In-process Roslyn for C#/VB.NET analysis — full LSP 3.17 client supporting 13 provider types: completion, hover, signature help, code actions, rename, inlay hints, code lens, semantic tokens, call hierarchy, type hierarchy, pull diagnostics, linked editing, breadcrumb navigation bar |
| ** AI Assistant** | Multi-provider AI chat panel — supports Anthropic, OpenAI, Google Gemini, Ollama, and Claude Code CLI out of the box, 25 MCP tools for deep IDE integration (build, debug, navigate, analyze), streaming responses with inline code apply, @mentions for context injection (@file/@selection/@errors/@solution), dedicated command palette (Ctrl+Shift+A), conversation history, customizable prompt presets |
| ** Plugin System** | Extensible plugin architecture — SDK 2.0.0 (API frozen, semver), .whxplugin package format, Plugin Manager UI, typed EventBus (39+ domain events), capability registry, extension points (menus, toolbar, titlebar, panels, status bar, terminal commands), dependency graph, plugin signing with signature validation, out-of-process sandbox with HWND embedding — 28 built-in plugins ship with the IDE. Lazy/Standby loading — file-extension and command-based activation triggers; dormant plugins stay unloaded until invoked; manifest-driven stubs keep menus and Command Palette fully discoverable; open panel state persists across restarts |
| ⌨️ Command & Terminal | Command Palette (Ctrl+Shift+P) with 9 search modes (commands, files, symbols, go-to-line…) — central command registry (~100 commands) with configurable keyboard shortcuts, integrated multi-tab terminal (Ctrl+\``) with 35+ built-in commands including plugin-reload, extensible by plugins via ITerminalService` API |
| ** .NET Debugger** (~60%) | Integrated .NET debugging UI — Debug menu (Start/Stop/Restart, Step Over/Into/Out), collapsible toolbar pod, execution line highlight, full breakpoint system with conditions, hit counts, enable/disable toggle, and solution-scoped persistence, Breakpoint Explorer panel, right-click gutter popup for breakpoint editing, debug status bar · ⚠️ Debug launch not yet functional — UI and breakpoint infrastructure are ready, runtime attach pending |
| ** Unit Testing** | Built-in test runner — auto-detects xunit, nunit, and mstest projects, runs via dotnet test with TRX result parsing, pass/fail/skip counters with color-coded outcome glyphs, context-sensitive detail panel (project summary, class summary, or individual test details), auto-run on successful build |
| ** IDE Infrastructure** | Unified editor plugin architecture via IDocumentEditor — shared undo engine with coalescence and VS-style history dropdown, Ctrl+Z/Y across all editors, rectangular block selection (Alt+Click), adaptive status bar, 30+ options pages, workspace system (.whidews save/restore), dynamic View menu (Flat/Categorized/ByDockSide), middle-click pan mode, NuGet Solution Manager, dependency injection via Microsoft.Extensions.DependencyInjection, tab groups (split editors horizontally/vertically, ITabGroupService, 16 TG_* theme tokens, keyboard shortcuts, settings page), Window menu (_Window top-level menu — Close/Close All But This/Close All Documents, Next/Previous Document Ctrl+Tab, Full Screen F11 via Win32 MonitorFromWindow/GetMonitorInfo — covers entire monitor including taskbar, restores exact position on exit) |
| ** Localization** | Full IDE UI localization — 27 languages: ar-SA · cs-CZ · da-DK · de-DE · el-GR · es-419 · es-ES · fi-FI · fr-CA · fr-FR · hi-IN · hu-HU · id-ID · it-IT · ja-JP · ko-KR · nl-NL · pl-PL · pt-BR · pt-PT · ro-RO · ru-RU · sv-SE · th-TH · tr-TR · uk-UA · vi-VN · zh-CN; all panels, menus, context menus, dialogs, and toolbar buttons translated; runtime language switching |
Every editor is a standalone IDocumentEditor plugin — reusable outside the IDE.
| Editor | Progress | Description |
|---|---|---|
| Code Editor | ~90% | Advanced source editor — 57+ languages (incl. F# + VB.NET), Roslyn in-process C#/VB.NET analysis, full LSP 3.17 suite (13 providers: completion, hover, signature help, code actions, rename, inlay hints, code lens, semantic tokens, call/type hierarchy, linked editing, pull diagnostics), sticky scroll, Find All References (Shift+F12), multi-caret (Ctrl+Alt+Click), bracket-depth colorizer, color swatch preview, column rulers, format-on-save, split view, Ctrl+Click links and emails (toggleable, ClickableLinksEnabled/ClickableEmailsEnabled), upgraded Roslyn semantic inline hints (IReferenceCountProvider, whfmt-driven CanProvide) |
| TBL Editor | ~75% | Character table editor — create and edit custom .tbl encoding tables for ROM hacking and retro game translation, bidirectional hex↔text preview |
| Hex Editor | ~70% | Full binary editor — insert/overwrite modes, 790+ format auto-detection, multi-mode search (hex/text/regex/wildcard/TBL), persistent bookmarks, custom encoding tables, block-level undo/redo with VS-style history dropdown, Go to offset dialog (Ctrl+G) |
| Diff / Changeset Viewer | ~65% | File comparison tool — binary, text, and structure diff modes with GlyphRun canvas renderers for high performance, word-level highlighting, overview ruler, Myers/Binary/Semantic algorithms, format field overlay for binary diffs |
| Markdown Editor | ~50% | Markdown authoring — live side-by-side preview, mermaid.js diagram rendering, image paste from clipboard, document outline panel, adaptive render debounce, off-thread word count |
| XAML Designer | ~50% | Visual WPF designer — live canvas with bidirectional XAML↔design sync, move/resize/rotate handles, property inspector (F4), alignment guides, snap grid, 4 split layouts, undo/redo, Toolbox panel, Visual State Manager panel (states/transitions), code-behind generation pipeline (scanner → generator → merge engine → sync service, [GeneratedCode] guard preserves user code, x:Name rename propagation) |
| Image Viewer | ~40% | Image preview and editing — zoom/pan, rotate/flip/crop/resize operations, concurrent multi-file open, supports common formats (PNG/JPEG/BMP/GIF/TIFF) |
| Text Editor | ~40% | Plain text editor — 26 embedded language definitions with auto-detection, encoding support (UTF-8/UTF-16/ASCII/custom), line numbering, basic search |
| Script Editor | ~40% | C# scripting environment — split-view editor with C#Script language support, Roslyn-powered SmartComplete with IDE globals injection, execute scripts to automate IDE workflows |
| Document Editor | ~50% | Rich document editor — WYSIWYG editing for RTF, DOCX, and ODT formats, DrawingContext-based GlyphRun rendering, text formatting toolbar, headers/footers, page breaks, table insert/edit dialog, hyperlink insert dialog, auto-list (bullet and numbered), page settings dialog (margins, paper size, orientation), rich context menu, find/replace, split hex pane for raw inspection, 27-language localization |
| Entropy Viewer | ~30% | Binary entropy visualizer — graphical entropy and byte-frequency charts to detect encrypted, compressed, or packed regions at a glance, click-to-navigate to offset |
| Structure Editor | ~30% | Binary template editor — visual editor for .whfmt format definitions, block DataGrid with drag-drop reordering, Ctrl+F search, validation pipeline, undo/redo, StructurePopToolbar, BlockTypeBadge, LiveWhfmtBuffer, VariablesTab, TestTab with live binary preview, variable cross-reference validation, expression SmartComplete, ForensicPattern tolerant converter, options page |
| JSON Editor | ~20% | JSON file viewer — syntax highlighting, auto-detection for .json files |
| Resx Editor | ~20% | .NET resource editor — view and edit .resx resource files with key/value grid, string and file resource support |
| Disassembly Viewer | ~12% | Machine code disassembler — x86/x64/ARM instruction decoding via Iced 1.21.0, GlyphRun canvas renderer for fast scrolling, navigate-to-offset integration |
| Class Diagram | ~30% | UML class diagram editor — syntax-highlighted DSL pane (classdiagram.whfmt, CodeEditorSplitHost), 3 layout strategies (Force-Directed / Hierarchical / Swimlane), interactive canvas with minimap drag-to-reposition, left-panel TreeView with colored selectable members, collapsible sections with dual metrics badge, hover tooltips (400 ms delay), context menu (double-click, ZoomToRect, clipboard export), scrollbars with 1 px |
No open issues yet, or sync has not completed.