I want to send the file I'm currently editing to a printer, like I did in Notepad++ for example. I havn't found any hint on a print command. Is it not possible ?
Simply install the extension within VS Code or by going to the Visual Studio Marketplace. Next restart VS Code. Open the code you'd like to print, press F1 and type PrintCode and press enter.
Once you install the extension, go to Builds hub and right-click on any build definition. You will see a new menu item Export as PDF . Click on it and you will be able to select what to include in the report. Chose the sections you want to be included in the PDF and click Export as PDF .
To print the current text editor's contents, select Print from the File menu. The Print dialog box is fairly standard, allowing you to select your printer and set basic print properties.
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:
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With