Full rhwp surface
Toolbar editing, text changes, table and cell selection, and export paths are exposed through the bundled studio runtime.
Independent VS Code extension
AI tools create more drafts, citations, Korean office files, and review artifacts. code-office keeps those document-heavy workflows inside VS Code: editable HWP/HWPX, Markdown authoring, Office previews, PDFs, archives, images, HTTP request files, and registry files.
Showcase
The extension is not an AI generator. It is the VS Code surface for the document formats that show up around AI-assisted work: generated DOCX drafts, Korean HWP/HWPX references, Markdown notes, PDFs, spreadsheets, archives, and source files that need to stay inspectable together.
Format wall
AI-era document work is rarely a single file. code-office keeps the generated brief, the Korean source form, the spreadsheet gate, the PDF evidence packet, the presentation narrative, and the HTML export visible as one workspace story.
Bundled local runtime
The default path loads a packaged rhwp-studio build from the extension, not a remote page. The editor is wired into VS Code's editable CustomEditor lifecycle so dirty state, save, backup, revert, and format checks stay under the host editor.
Toolbar editing, text changes, table and cell selection, and export paths are exposed through the bundled studio runtime.
The packaged runtime is copied into resource/rhwp-studio during build. Remote studio URLs are an advanced opt-in override.
Save checks preserve the destination format and reject silent mismatches before bytes are written back to disk.
File coverage
| Family | Extensions | Mode | Implementation note |
|---|---|---|---|
| HWP / HWPX | .hwp, .hwpx | Editable | Bundled local rhwp-studio WASM runtime. |
| Markdown | .md, .markdown | Editable | Vditor-based authoring with inherited export paths. |
| Word | .docx, .dotx | Preview | docx-preview/docxjs-derived rendering. |
| Excel | .xls, .xlsx, .xlsm, .csv, .ods | Preview / inherited edit paths | Spreadsheet viewer stack from the office lineage. |
| PowerPoint | .pptx | Read-only preview | Text/media preview while deeper fidelity work remains on the roadmap. |
| Legacy PowerPoint | .ppt | Optional fallback | LibreOffice conversion is opt-in and disabled by default. |
| PDF, images, fonts, archives | Multiple | Preview | Viewer surfaces inherited and kept behind release smoke checks. |
| HTTP, Registry, HTML | .http, .rest, .reg, .html, .htm | Tooling / preview | Legacy runtime IDs remain for compatibility. |
Install
Stable VS Code
code --install-extension ./code-office-<version>.vsix
VS Code Insiders
code-insiders --install-extension ./code-office-<version>.vsix --force
HWP/HWPX files are still registered through the inherited
cweijan.hwpEditor custom editor ID for compatibility. Public
branding and repository metadata point to this independent project.
Older vscode-obsdian.hwp.* settings are read as a fallback;
new HWP settings use code-office.hwp.*.
Release discipline
npm run release:local
Type-checks, builds, verifies HWP hardening, packages the VSIX, and inspects packaged contents.
Checks that rhwp WASM, NOTICE, and LICENSE are included while vendor sources, samples, docs, and scripts are excluded.
Install the VSIX, open and save HWP/HWPX, then spot-check Markdown, HTML, XLSX, DOCX, PDF, PPTX, image, and archive surfaces.
Roadmap
[[wikilink]] completion, navigation, and WebView/export integration.Sources and attribution
code-office contains code derived from MIT-licensed vscode-office work and packages a local rhwp runtime. It is not affiliated with or endorsed by Obsidian, Hancom, Microsoft, cweijan/vscode-office, rjwang1982/vscode-office, or rhwp.
Logo OpenAI image-generation concept, manually simplified into images/logo-new.svg.
Screenshots Local smoke captures from temporary HWP, DOCX, XLSX, PDF, PPTX, and HTML samples. Office and PDF captures use VS Code Insiders with the packaged VSIX installed; the HTML export capture uses the rendered local sample for a clean visual check.