Preview DOCX files quickly inside VS Code.
- Command:
DOCX Viewer: Open File - Right-click
.docxin Explorer and open directly from the context menu - Open selected DOCX in an in-extension preview panel
- Commands:
DOCX Viewer: Zoom In,DOCX Viewer: Zoom Out,DOCX Viewer: Reset Zoom - Zoom shortcut in preview:
Cmd + Mouse Wheel(macOS),Ctrl + Mouse Wheel(Windows/Linux)
docxviewerext.openToSide: Open DOCX preview in side editor.docxviewerext.preserveFocus: Keep focus in current editor after opening preview.
npm run compile: Compile TypeScriptnpm run watch: Watch and compile on changesnpm run lint: Run ESLintnpm test: Run extension tests
- Install dependencies:
npm install - Press
F5in VS Code to launch Extension Development Host - Open using either:
- Explorer right-click on a
.docxfile ->DOCX Viewer: Open File - Command Palette ->
DOCX Viewer: Open File
- Explorer right-click on a
- Install VSCE globally:
npm i -g @vscode/vsce - Login once:
vsce login michaelsam94 - Publish:
vsce publish
