Add IDE clone links and download ZIP features to repository detail page#75
Draft
Add IDE clone links and download ZIP features to repository detail page#75
Conversation
Co-authored-by: Matt-17 <11333169+Matt-17@users.noreply.github.com>
Co-authored-by: Matt-17 <11333169+Matt-17@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Direct cloning links for some popular IDEs
Add IDE clone links and download ZIP features to repository detail page
Sep 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds direct cloning links for popular IDEs and a download ZIP button to the repository detail page, making it easier for users to clone repositories directly into their preferred development environment.
Problem
Previously, users could only copy the Git URL and manually paste it into their IDE's clone dialog. This required multiple steps and was not user-friendly, especially for users who frequently work with multiple repositories.
Solution
Added three new features to the repository detail page:
1. "Open with" Dropdown Menu
A dropdown button that provides direct links to clone the repository in 18 popular IDEs:
Each IDE uses its specific protocol handler (e.g.,
vscode://vscode.git/clone?url={url}for VS Code,jetbrains://idea/git-clone?url={url}for IntelliJ) to open the IDE directly with the repository URL pre-filled.2. Download ZIP Button
A direct link to download the entire repository as a ZIP file, useful for quick access without cloning.
3. User IDE Preference
Added a "Preferred IDE" setting in Account Settings where users can save their default IDE choice for future reference.
Screenshots
Repository Detail Page - Initial View
The page now shows "Open with" and "Download ZIP" buttons next to the Git URL copy button.
IDE Selection Dropdown
Clicking "Open with" displays all 18 supported IDEs. Selecting one opens the IDE with the clone URL.
Technical Details
New Components
Configuration/IdeType.cs: Enum defining all supported IDE typesHelpers/IdeHelper.cs: Helper methods for IDE display names and protocol URL generationwwwroot/js/ide-dropdown.js: JavaScript for dropdown menu interactionPreferredIdecolumn toUserSettingstable for both SQLite and SQL ServerModified Components
UserSettings,UserSettingsEntity, andUserSettingsServiceto handle IDE preferencesMeSettingsModeland Account Settings view to include IDE selectionDetail.cshtmlwith IDE dropdown and Download ZIP buttonProtocol Handlers
git-client://clone?repo={url}vscode://vscode.git/clone?url={url}jetbrains://{ide}/git-clone?url={url}gittower://openRepo/{url}Testing
Usage
Users can now:
Notes
Closes #[issue-number]
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.