GitLink for VSCode: Seamless Cross-Platform Code Sharing Experience
I frequently use the GitLink plugin in JetBrains IDEs to copy Git web URLs for files with one click, which significantly streamlines code collaboration.
Increased VSCode usage at work recently revealed a lack of comparable extensions. To improve efficiency, I developed Beautiful GitLink, a VSCode extension that replicates and enhances this functionality.
Demo
Features
- Supports one-click copying of Git web URLs from both File Explorer and active editors
- Multiple copy formats: raw URL, Markdown link, or Markdown link with code snippet
- One-click browser access to Git web URLs
- Built-in templates for major Git platforms with options for custom templates
Built-in Supported Git Platforms
Currently supports these platforms, with custom platform configuration available:
- GitHub
- GitLab
- Gitee
- Tencent Coding
- Tencent WorkerBee (Community Edition, Internal Network Version)
Installation
https://marketplace.visualstudio.com/items?itemName=AlanHe.cn-alanhe-gitlink
Settings Sync
VSCode natively supports configuration syncing through GitHub account login. For Cursor IDE users, manual sync or third-party sync extensions are necessary.
Data Security
- No server interactions
- Zero-user data collection
Final Notes
Active maintenance and development continue. Please submit issues for feedback.