Skip to content

About

Let VSCode support previewing PDF, Excel, Word and other formats, and add markdown WYSIWYG editor.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

1,330 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kieran Document Studio(文档工作台)

English | 简体中文 | 繁體中文

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.

Introduction

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.

Git History

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.

Markdown

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

Other features

  • HTML: live preview while editing; press Ctrl+Shift+V to 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 .ods files
  • HTTP: send requests from .http and .rest files (integrated from REST Client with fixes for local request issues); press Ctrl+Enter / ⌘ Enter to send
  • Java: decompile and view .class files

Development Guide

Prerequisites

Getting started

git clone https://github.com/Chihang03/vscode-office.git
cd vscode-office
npm ci

Development

Desktop extension (full feature set):

npm run dev

Press F5 in VS Code, or choose Extension from Run and Debug.

Web extension (Markdown, HTML, YAML in the browser):

npm run dev:web

Choose Extension (Web) from Run and Debug.

Build & package

npm run build    # production build
npm run package  # create an independent chihang03 VSIX

Usage data

This 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.

Credits

About

Let VSCode support previewing PDF, Excel, Word and other formats, and add markdown WYSIWYG editor.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages