Copy Link to Selection
Generate links to specific code selections in your repository with just a right-click.
Copy Link to File
Quickly share links to entire files through the context menu.
Custom Domain Support
Replace default Git remote URLs with your custom domains for internal sharing.
Installation
- Open VS Code
- Press
Ctrl+Shift+X(Windows/Linux) orCmd+Shift+X(Mac) - Search for "Repo Anchor"
- Click Install
Configuration
Extension Settings
You can customize Repo Anchor through VS Code settings:
- Open Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Type "Open Repo Anchor Settings"
- Configure the following options:
Available Settings
- Use Custom URL: Enable to use custom domains instead of the Git remote URL
- Custom URL: Set your preferred custom domain
- Custom Domains: Maintain a list of frequently used custom domains
Example: If your repository is hosted at github.com but you want to use your company's internal domain,
set a custom URL like git.company.com.