Visual Studio Code Printing
Code listings are iconic in a sense older than graphical user interfaces. Say no to millennial nonsense and print your code the way God intended (on paper with line numbers). Yes, I know, it really should be faded dot-matrix on blue-lined 15" fanfold paper but what can you do.
The print icon on the toolbar prints the document in the active editor.
If you have a text selection that crosses at least one line-break you can right click and choose Print from the context menu to send just the selection to the printer. In the absence of a multi-line selection the entire document is printed.
Or you can right-click on a file in the file explorer pane and choose Print from the context menu.
Printing on Mac, Linux and Windows
You'll need a web browser and access to a printer.
This extension contributes the following settings:
The list of stylesheets had to be severely shortened to work around a problem with large lists in VS Code. When handling of large lists is improved the full list of 90 stylesheets will be restored.
Direct printing will have to wait on changes to my related WebPrint project.
Fix page-breaking problem with Chrome, margin setting removed (now handled entirely by browser settings). Port allocation is now dynamic.