CodeSnip is an editor extension that makes sharing code snippets incredibly easy. Select any code in your editor, press a hotkey, and instantly get a shareable URL for your code snippet.
Features
Quick Share: Select code and press Cmd+Shift+C (Mac) or Ctrl+Shift+C (Windows) to instantly generate a shareable URL
Smart Selection: Automatically captures file context including language, line numbers, and selection ranges
Copy to Clipboard: Generated URLs are automatically copied to your clipboard for immediate sharing
Cross-Platform: Works seamlessly across different development environments
Usage
Select any code in your editor
Press Cmd+Shift+C (Mac) / Ctrl+Shift+C (Windows) or use the command palette and search for "CodeSnip: Copy CodeSnip URL"
The shareable URL is automatically copied to your clipboard
Share the URL with your team or paste it anywhere you need
Requirements
Compatible editor version 1.99.3 or higher
CodeSnip API server running (for generating snippet URLs)
Commands
codesnip.copyUrl: Generate and copy a shareable URL for the selected code