Maintained independently by Kieran Dai (GitHub: Chihang03; publisher: chihang03). This is a community fork of cweijan/vscode-office. It is not an official upstream release and is not endorsed by the upstream authors or Microsoft. Original copyrights, MIT license, and Git history are retained; see THIRD_PARTY_NOTICES.md.
The independent extension ID is chihang03.kieran-document-studio, starting at preview version 0.1.0. It installs separately from cweijan.vscode-office. Use a VSIX built from this repository; future release packages will be listed under Releases. This branding revision does not establish Marketplace approval. Settings, commands and custom editor IDs have independent namespaces; see the migration guide.
This extension lets you preview and edit common office and design files directly in VS Code.
- Excel:
.xls,.xlsx,.xlsm,.csv,.ods - Word:
.docx,.dotx - PowerPoint:
.pptx,.pptm - PDF & eBook:
.pdf,.epub - HEIC/TIFF:
.heic,.heif,.tiff - Design:
.psd,.xmind,.icns,.svg - Font:
.ttf,.otf,.woff,.woff2 - Markdown:
.md,.markdown - HTML:
.html,.htm - HTTP request:
.http,.rest - Java:
.class(decompiler) - Compressed files:
.zip,.jar,.vsix,.rar,.7z,.tar,.tar.gz,.tgz,.apk
CSV, TSV, Excel, and ODS columns automatically fit their contents when the current worksheet is first displayed. Other worksheets are fitted only when first opened, including a restored active sheet. Initial fitting does not mark the file as modified. Manual resizing is preserved during editing and sheet switching; the AF button still fits columns on demand.
Kieran Document Studio includes a full Git History workspace for exploring repositories without leaving VS Code. Open it from the Source Control view, the editor title bar, the editor context menu, or the file explorer context menu.
This extension replaces the default Markdown editor with a WYSIWYG editor.
To use the built-in VS Code Markdown editor instead, add this to your settings.json:
{
"workbench.editorAssociations": {
"*.md": "default",
"*.markdown": "default"
}
}Export PDF from the command palette (Kieran Document Studio: Export Markdown to PDF), the editor title toolbar, or the Markdown editor/file context menu. Choose a destination before exporting; pending editor changes are synchronized and saved first. Every page has the source filename at the top left, the local export date (YYYY-MM-DD) at the top right, and centered current page / total pages at the bottom. PDF export creates nested, clickable bookmarks from Markdown heading levels 1–6 and requests the outline sidebar on open. The body has no inserted table of contents; [toc] directives remain suppressed without changing the source. Automatic sidebar opening depends on the viewer. PDF export requires an installed Chrome, Edge, or Chromium; configure kieran-document-studio.chromiumPath if automatic detection fails. DOCX and HTML export remain available in the custom editor context menu.
Shortcuts: Based on shortcut.md, plus:
- New line:
Ctrl+Enter/⌘ Enter - Hard line break:
Shift+Enter/⇧ Enter - Edit hyperlink:
Alt+Enter/^ Enter - Set CodeMirror language:
Alt+Enter/^ Enter - Edit in VS Code:
Ctrl Alt E/⌘ ^ E - Paste as plain text:
Ctrl+Shift+V/⌘ ⇧ V
- HTML: live preview while editing; press
Ctrl+Shift+Vto open the live view - YAML: document outline and anchor navigation (Go to Definition for alias references)
- Icon theme: includes a subset of Material Icon Theme icons, plus Material Icons (Kieran Document Studio) and One Dark Modern (Kieran Document Studio) color themes
- Excel: preview and save
.xlsx,.xls,.xlsm,.csv, and.odsfiles - HTTP: send requests from
.httpand.restfiles (integrated from REST Client with fixes for local request issues); pressCtrl+Enter/⌘ Enterto send - Java: decompile and view
.classfiles
git clone https://github.com/Chihang03/vscode-office.git
cd vscode-office
npm ciDesktop extension (full feature set):
npm run devPress F5 in VS Code, or choose Extension from Run and Debug.
Web extension (Markdown, HTML, YAML in the browser):
npm run dev:webChoose Extension (Web) from Run and Debug.
npm run build # production build
npm run package # create an independent chihang03 VSIXThis community fork ships without a telemetry endpoint and does not send extension usage events. The inherited Application Insights connection has been removed. The reserved kieran-document-studio.enableTelemetry setting defaults to false; setting it to true alone does not enable reporting in this build. See docs/telemetry.md.
User-triggered HTTP requests, remote document resources and AI features still use their configured services. They are separate from extension usage telemetry.
- PDF rendering: mozilla/pdf.js
- DOCX rendering: VolodymyrBaydalka/docxjs
- PPTX rendering: pptxviewjs
- XLSX rendering:
- SheetJS/sheetjs: XLSX parsing
- myliang/x-spreadsheet: XLSX rendering
- EPUB: futurepress/epub.js
- PSD: ag-psd
- XMind: mind-elixir, @mind-elixir/import-xmind
- HEIC conversion: heic2any
- Java decompiler: JetBrains/java-decompiler
- HTTP: REST Client
- Markdown: Vanessa219/vditor
- Material Icon theme: PKief/vscode-material-icon-theme