Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Snapline — Code ScreenshotsNew to Visual Studio Code? Get it now.
Snapline — Code Screenshots

Snapline — Code Screenshots

branchline.

|
1 install
| (0) | Free
| Sponsor
Turn code into beautiful, shareable images in one click — using your exact editor theme. A maintained alternative to CodeSnap and Polacode.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Snapline — Code Screenshots

Turn code into beautiful, shareable images in one click. Select code, press ⌘⌥S / Ctrl+Alt+S, and get a polished snapshot in your editor's own theme — ready for Twitter/X, LinkedIn, docs, slides or a PR.

A fast, actively maintained alternative to CodeSnap and Polacode.

A snap made with Snapline

Features

  • Your exact theme — colors come straight from your editor, so the image matches what you see.
  • One click — select code → Snapline: Snap Code (context menu, editor title button, or ⌘⌥S). No selection snaps the whole file.
  • Beautiful by default — gradient backgrounds, window controls, file title, soft shadow, adjustable padding.
  • Line numbers that start at the real line number.
  • Smart dedent — nested code is shifted to the left edge automatically.
  • Save PNG (2× resolution) or copy the image straight to your clipboard.
  • Doesn't clobber your clipboard — whatever you had copied is restored after a snap.
  • Settings are remembered between snaps.

Snapline panel

Snapline Pro

Free snaps include a small Snapline credit in the corner. Pro — part of the one-time Branchline Pro license, no subscription — adds:

  • No watermark
  • Custom background colors
  • Pro features in Branchline — Git Graph and TODO Lens too

Run Snapline: Get Snapline Pro, then Snapline: Enter Pro License Key.

Also by the author

  • Branchline — Git Graph — a fast, maintained Git Graph.
  • TODO Lens — Better Comments & TODO Tree — color-coded comments and every TODO in one tree.
  • Docline — Python Docstring Generator — type """ and get Google/NumPy/Sphinx docstrings.

Support

Free and maintained by one developer. If it saves you time, you can chip in from $1.

Feedback

Bugs and ideas: GitHub issues.

License

Source-available under the Snapline License: free to use, read and learn from; redistribution and derivative publications are not permitted.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft