Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>View PDFNew to Visual Studio Code? Get it now.
View PDF

View PDF

jtmenchaca

|
1 install
| (0) | Free
View PDF files directly in VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

View PDF Extension

A VS Code extension for viewing PDF files directly in the editor.

Development

  1. Open this folder in VS Code
  2. Run npm install (already done)
  3. Run npm run compile (or press Cmd+Shift+B)
  4. Press F5 to launch Extension Development Host
  5. In the new window, open pdf-sample.pdf

Testing

The extension will automatically handle .pdf files and display them using PDF.js.

Try opening the included pdf-sample.pdf file to test the viewer.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft