How to print a file from VsCode?
Now you can install addon for VS Code - search "PrintCode".
Note that the repository for this extension was last updated in February 2018 with numerous issues outstanding.
It is not yet available, but I found an issue report for that feature.
It's currently in the backlog, so we can expect it soon.
https://github.com/Microsoft/vscode/issues/5953
Edit: In the meantime:
- https://marketplace.visualstudio.com/items?itemName=nobuhito.printcode
- https://marketplace.visualstudio.com/items?itemName=pdconsec.vscode-print