This extension enables the in-VSCode preview of EPS image files.
A new command eps-preview.sidePreview
is added as well as a preview icon in the menu bar when EPS files is open in VSCode.
A short demo is here:
This extension depends on the PostScript Language
extension to recognize EPS file.
You can install that extension from the VSCode extension store.
This extension also depends on two commands -- ps2pdf
and pdf2svg
to generate the preview.
Thus you need to install these two commands first and ensure they are in the executable path.
For MacOS, you could install them via homebrew:
brew install ghostscript pdf2svg
Two settings can be set to specify the locations of the used binaries:
eps-preview.path.ps2pdf
eps-preview.path.pdf2svg
None yet.
Users appreciate release notes as you update your extension.
Added two configurations for binary locations.
Initial release (if it counts).
Enjoy!