Display pdf in VSCode. Fork of https://github.com/tomoki1207/vscode-pdfviewer .
Select text in the PDF preview and click Highlight in the toolbar. The selection is stored as a standard PDF highlight annotation and becomes part of the document when you save it. Highlights can span multiple lines and pages; the preview keeps unsaved highlights when it reloads. Annotation editing and removal are not currently supported.
After cloning this repo, run:
$ npm install # creates node_modules/ folder
$ npm run compile # creates out/ folder (compile TypeScript into JavaScript files)
$ npm test # runs the automated extension tests- Press
F5to open a new VS Code window with this extension loaded. - After making any changes to this extension, relaunch extension from debug toolbar, or else reload the opened VS Code window.
- Download latest Prebuilt(older browsers).
- Extract the ZIP file.
- Overwrite ./lib/* by extracted directories.
- If lib/web/viewer.html has changes, apply these changes to HTML template at pdfPreview.ts.
- To not use sample pdf.
- Remove sample pdf called
compressed.tracemonkey-pldi-09.pdf. - Remove code about using sample pdf from lib/web/viewer.js.
defaultUrl: { value: "", // "compressed.tracemonkey-pldi-09.pdf" kind: OptionKind.VIEWER },
See CHANGELOG.md.
Please see LICENSE
