Skip to content

v0.1.8

Choose a tag to compare

@jrandolf jrandolf released this 11 Mar 05:08
d20b787

vscode-pdf v0.1.8

v0.1.8 is a quality-of-life release that puts you in control of how PDFs open — choose your default zoom level, decide whether the sidebar appears, and enjoy a smoother experience now that Ctrl+P stays where it belongs (in VS Code, not the print dialog). Plus, a long-standing crash when dragging text is finally gone. Small changes, big difference!


✨ New Features

  • Configurable default zoom — Set pdf.defaultZoomValue in your VS Code settings to open PDFs at your preferred zoom level (e.g. "page-width", "page-fit", "150", or "auto"). No more zooming in every time you open a document. (Closes #11, #22)

  • Configurable sidebar on load — Use pdf.sidebarViewOnLoad to control whether the PDF sidebar (thumbnails, bookmarks, etc.) is shown when a file is opened. Set it to 0 to keep things clean, or another value to have the sidebar ready to go.


🐛 Bug Fixes

  • Ctrl+P / Cmd+P now opens the VS Code Command Palette — Previously, PDF.js was intercepting the print shortcut and popping up a print dialog. That's squashed. Your muscle memory is safe. (Closes #13)

  • No more crash on text drag — Dragging text inside a PDF was triggering the error screen even though nothing had actually gone wrong. The error handler now correctly distinguishes load-time failures from harmless post-load events. (Closes #21)


📦 Installation

Grab it from the Visual Studio Code Marketplace, or search for "PDF Viewer" in the Extensions panel (Ctrl+Shift+X / Cmd+Shift+X) inside VS Code. Also available on the Open VSX Registry.