Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>RivSnapNew to Visual Studio Code? Get it now.
RivSnap

RivSnap

Riveany

|
2 installs
| (0) | Free
Create beautiful code screenshots with one click - Copy to clipboard instantly!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

RivSnap

Version VS Code License

Create beautiful code screenshots with one click - Copy to clipboard instantly!

📦 Installation

Option 1: VS Code Marketplace (Recommended)

  1. Open VS Code
  2. Press Ctrl+Shift+X (Extensions)
  3. Search for "RivSnap"
  4. Click Install

Option 2: Download VSIX

Download the latest .vsix file from GitHub Releases and install manually:

code --install-extension rivsnap-1.0.2.vsix

Or through VS Code UI:

  1. Extensions → ... → Install from VSIX...
  2. Select the downloaded .vsix file

Features

  • 📸 Instant Code Screenshots - Select code and create beautiful images in seconds
  • 📋 Copy to Clipboard - One-click copy as actual image (not base64 text!)
  • 💾 Save as PNG - Export high-quality PNG images
  • 🎯 Syntax Highlighting - Supports all major programming languages
  • 🎨 Beautiful Gradients - Choose from stunning gradient presets
  • 🔢 Toggle Line Numbers - Show/hide line numbers with one click
  • 📝 Toggle File Names - Display or hide file names
  • ⚙️ Customizable - Adjust background, padding, font size, and more

Quick Start

  1. Select code you want to capture
  2. Press Ctrl+Shift+S (Windows/Linux) or Cmd+Shift+S (Mac)
  3. Click "Copy to Clipboard" or "Save as PNG"

OR Right-click on selected code → "RivSnap: Create Code Screenshot"

Usage

Keyboard Shortcut (Fastest)

  • Select code
  • Press Ctrl+Shift+S (Windows/Linux) or Cmd+Shift+S (Mac)
  • Done!

Right-Click Menu

  • Select code
  • Right-click
  • Choose "RivSnap: Create Code Screenshot"

Command Palette

  • Select code
  • Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)
  • Type "RivSnap"
  • Press Enter

Customization

Access settings via File > Preferences > Settings and search for "RivSnap":

  • Background: Choose from gradient presets or custom colors
  • Padding: Adjust spacing around code (default: 0px)
  • Font Size: Change code font size (default: 14px)
  • Line Numbers: Toggle line numbers on/off
  • File Name: Show/hide file name in screenshot
  • Controls Panel: Enable full customization panel (default: off)

Gradient Presets

Try these beautiful backgrounds in your settings:

Purple Dream (Default): linear-gradient(135deg, #667eea 0%, #764ba2 100%)
Sunset: linear-gradient(135deg, #f093fb 0%, #f5576c 100%)
Ocean Blue: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%)
Forest: linear-gradient(135deg, #0ba360 0%, #3cba92 100%)
Night Sky: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%)
Fire: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%)
Mint: linear-gradient(135deg, #00b09b 0%, #96c93d 100%)
Peach: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%)

Requirements

  • VSCode 1.85.0 or higher
  • Linux users: Install xclip for clipboard support
    sudo apt-get install xclip
    

Known Issues

  • Syntax highlighting requires internet connection (uses CDN)
  • First screenshot may take slightly longer to load libraries

📝 Release Notes

1.0.2 (Latest)

Documentation:

  • 📚 Updated README with installation instructions
  • 📚 Added VSIX download links
  • 📚 Added version badges
  • 📚 Improved documentation structure

Download v1.0.2 VSIX

1.0.1

Bug Fixes:

  • 🐛 Fixed PHP + HTML/JavaScript syntax highlighting
  • 🐛 Fixed script injection vulnerability
  • 🐛 Improved error handling with fallback mechanisms

New Features:

  • ✨ Added horizontal scroll for long code lines
  • ✨ Custom scrollbar styling (dark theme)
  • ✨ Better support for mixed-language files (30+ languages)

Improvements:

  • 🔧 Updated .gitignore and .vscodeignore
  • 🔧 Better code organization
  • 🔧 Reduced VSIX package size

Download v1.0.1 VSIX

1.0.0

Initial release of RivSnap:

  • 📸 Instant code screenshot creation
  • 📋 Copy to clipboard as actual image
  • 💾 Save as PNG file
  • 🎨 Beautiful gradient backgrounds
  • 🎯 Syntax highlighting for all major languages
  • ⚙️ Customizable settings
  • 🎮 Multiple access methods (keyboard, right-click, command palette)

Download v1.0.0 VSIX

Credits

  • Heavily inspired by CodeSnap
  • Built with VSCode Extension API
  • Syntax highlighting powered by highlight.js
  • Screenshot capture using html2canvas

Support

  • 🐛 Report Issues
  • 💬 Discussions
  • 📖 Documentation

License

MIT License - Copyright (c) 2025 Riveany


Enjoy creating beautiful code screenshots! 📸✨

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft