
There are plenty of ways to decide the best for you! So there you have it - you can now print from Visual Studio Code.Are you stuck in the vivid debate of visual studio vs visual studio code? The battle between the two will entirely depend on the work you are doing, your working style, the languages you each support, and the features you require.

The very first time you do this you may be asked to accept a firewall policy for this program so just accept this. Open the code you'd like to print, press F1 and type PrintCode and press enter.Simply install the extension within VS Code or by going to the Visual Studio Marketplace.A very smart workaround for this missing feature. This extension works by taking your code, creating a HTML page and passing it into Chrome where it defaults to printing the page for you. This is where I stumbled onto the excellent print extension. My first port of call was to search the online extensions. It turns out that the ability to print is currently not an option in the latest version of VS Code for whatever reason.


Having never even looked for this option before I just assumed it existed where all Print options live in ' File -> Print.' or Ctrl+P but quickly realized that neither of these options exist in VS Code. I suppose it can be handy when you want to view something offline or hand out code samples for a meeting.Ī dev buddy was in touch recently and asked me how she could print from Visual Studio Code. I'll admit that personally I've never had a need in all my professional life to print code from Visual Studio but I know a few devs and project managers that do.
