Skip to content

SIRGPrice/Print-code-in-1-click

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📸 Print code in 1 click

Fully automate printing code with your own format — directly from VS Code

TO INSTALL type Install from VSIX in the vs code top comand bar and select the downloaded .vsix on the explorer.

VS Code Version

One click. Beautiful output. Zero config needed. Local and private.


✨ Features

Feature Description
🥳 Automate Printing Print your code in just 1 click
😶‍🌫️ Full local, full private All processing is done locally, ensuring your code never leaves your machine
📄 Print Current Document Print the entire active file with full syntax highlighting
✂️ Print Selected Lines Print only the code you've selected
📁 Print Multiple Files Pick files from your workspace and print them all at once
🎨 Syntax Highlighting Powered by Prism.js with support for 20+ languages
🔢 Line Numbers Optional line numbering for easy reference
📋 File Header Displays file name, path, and date on each printout
🖤 Color Modes Full-color syntax or all-black text for monochrome printers
↩️ Long Line Wrapping Lines wrap at page width instead of being cut off

🚀 Quick Start

1.

Look for the Print code button in the status bar (bottom-right corner)

2.

Hover over it to see all available actions, or click it to print the current document instantly

3.

The OS print dialog opens automatically — just hit Print!

You can also open any command from the Command Palette (Ctrl+Shift+P):

PrintCode: Print Current Document
PrintCode: Print Selected Lines
PrintCode: Print Selected Documents
PrintCode: Settings

⚙️ Settings

Customize PrintCode through the settings menu or VS Code settings:

Setting Default Options
printCode.lineNumbers true Show / hide line numbers
printCode.header true Show / hide file header (name, path, date)
printCode.colorMode "colored" "colored" — syntax colors · "black" — monochrome

💡 Tip: Access settings quickly by hovering over the status bar icon and clicking Settings.


🌐 Supported Languages

TypeScript · JavaScript · Python · Java · C# · C · C++ · Go · Ruby · Rust · SQL · YAML · JSON · Markdown · Bash · PowerShell · PHP · Swift · Kotlin · HTML · CSS · XML · and more…


Made with 💙 by engineers


Sponsor this project

Contributors