PDF Viewer for VS Code
A lightweight Visual Studio Code extension that lets you view PDF files directly inside the editor.
Features
- In-editor PDF rendering — open any
.pdf file and it displays in a VS Code tab using PDF.js.
- Page navigation — move between pages with previous/next controls.
- Zoom controls — zoom in, zoom out, and fit-to-width.
- Retained context — the webview keeps its state when switching between tabs.
Getting Started
- Install the extension.
- Open any
.pdf file in VS Code — it will automatically render in the PDF Viewer.
Requirements
- VS Code 1.109.0 or later.
Extension Settings
This extension does not add any configurable settings.
Known Issues
None at this time.
Acknowledgements
- PDF.js by Mozilla — used for PDF rendering.
See THIRD-PARTY-NOTICES.txt for the full list of third-party licenses.
License
This project is licensed under the Apache License 2.0 — see the LICENSE file for details.
| |