Open PDF files quickly inside VS Code.
- Command:
PDF Viewer: Open File - Right-click
.pdfin Explorer and open directly from the context menu - Open selected PDF in an in-extension preview panel
- Commands:
PDF Viewer: Zoom In,PDF Viewer: Zoom Out,PDF Viewer: Reset Zoom - Zoom shortcut in preview:
Cmd + Mouse Wheel(macOS),Ctrl + Mouse Wheel(Windows/Linux) - Optional preserve-focus behavior
pdfviewerext.openToSide: Open PDFs in side editor.pdfviewerext.preserveFocus: Keep focus in current editor after opening PDF.
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
.pdffile ->PDF Viewer: Open File - Command Palette ->
PDF Viewer: Open File
- Explorer right-click on a
- Install VSCE globally:
npm i -g @vscode/vsce - Login once:
vsce login michaelsam94 - Publish:
vsce publish
