This extension allows you to view PDF files directly in VS Code.
Install from the VS Code Extensions panel. Search adamraichu.pdf-viewer.
Just open the file. It should automatically be displayed as a series of images.
As of version 1.1.1, the extension exports an API that other extension authors can use to generate previews of PDFs. See docs/API.md on GitHub for more information.