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

ShareContent

sharecontent

|
4 installs
| (0) | Free
Share text, files and shorten URLs directly from VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
ShareContent Logo

ShareContent - Share your code with one click! 🚀

The fastest and easiest way to share code, files, and shorten URLs directly from Visual Studio Code.

Tired of copying and pasting code in messages? Need to share a file quickly? Want to shorten long URLs? ShareContent turns these tasks into something simple and instant - all without leaving your editor!

🎯 Why use ShareContent?

✅ Instant sharing - Turn any selected text into a shareable link in seconds
✅ Smart URL shortening - Long URLs automatically become short links
✅ Simplified file upload - Share files with a right-click
✅ Simple and beautiful sharing - Your text is shared on a clear, organized, and easy-to-read page
✅ Zero configuration - Works immediately after installation

📸 Screenshots

ShareContent Screenshot 1 ShareContent Screenshot 2
ShareContent Screenshot 3 ShareContent Screenshot 4
ShareContent Screenshot 5

🚀 Features

📝 Share Selected Text

Select any code or text in the editor and instantly turn it into a shareable link. Perfect for:

  • Sharing code snippets with colleagues
  • Sending documentation excerpts
  • Showing errors or logs for analysis
  • Quickly sharing configurations

How to use:

  1. Select the text you want to share
  2. Right-click and choose "ShareContent: Share Selected Text / URL"
  3. Done! The link is already in your clipboard

🔗 Shorten URLs

Long and complicated URLs? Not anymore! ShareContent automatically detects when you select a URL and creates a short, clean link.

How to use:

  1. Select the URL in the editor
  2. Right-click and choose "ShareContent: Share Selected Text / URL"
    or press Ctrl+Shift+P, type ShareContent: Share Selected Text / URL and select the command from the palette
  3. The shortened link is generated and copied automatically

💡 Pro Tip: Enable "Replace Url In Editor" in settings to automatically replace the original URL with the shortened link directly in your code!

📁 Share Files

Need to send a file to someone? Upload directly from VS Code's Explorer!

How to use:

  1. In the Explorer, right-click on the file
  2. Select "ShareContent: Share File" or press Ctrl+Shift+P, type Share File and select the command from the palette
  3. The download link is automatically copied for you to share

⚙️ Configuration

Replace URL in Editor

When shortening URLs, you can automatically replace the original URL with the shortened link directly in your editor.

How to enable:

  1. Open VS Code Settings (Ctrl+, / Cmd+,)
  2. Search for "ShareContent"
  3. Enable "Share Content: Replace Url In Editor"
  4. Now when you shorten a URL, it will be automatically replaced in your code!

This is perfect for:

  • Replacing long API endpoints with short links in configuration files
  • Updating documentation with cleaner URLs
  • Keeping your codebase tidy with shorter links

💡 Use Cases

  • Developers: Quickly share code in chats, emails, or documentation
  • Teams: Send configuration files or logs without hassle
  • Educators: Share code examples with students
  • Technical support: Send code snippets or log files for analysis
  • Collaboration: Share snippets during code reviews

Made with ❤️ to make your workflow more efficient

Visit sharecontent.io to learn more.

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