-
Notifications
You must be signed in to change notification settings - Fork 30.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for URL vscode://gitclone/<path> to do a git clone of the specified repository and open it #20291
Comments
Good idea! |
This idea could be normalized to something like or even some sort of API for extensions to hook into the URLService something along the lines of |
@joaomoreno How could I even begin to experiment with solutions for this? As a very basic experiement, I tried to add an additional handler in What do you or the tema do to the test this/what did you do while developing it? Thanks! |
Correct @hoovercj. Here's the only handler. This is now much harder... since Git is an extension. So, needs thought. |
@joaomoreno I think we could generalized this by allowing url
git extension would get "/clone?url=githubURL" to some endpoint And if that extension was not installed then it would fallback to |
Seem like general protocol handler supported #46256 https://code.visualstudio.com/updates/v1_23#_protocol-handler-api Just make it work in git extension then? |
@StanislawStempin does the new git clone uri support meet your needs? |
Perfect! That covers it |
I would like to be able to achieve the following scenario using URL handlers for VS Code, giving a quick start for any new developers interested in developing using my extension. This issue is about step 2:
//1. Install VS Code - https://code.visualstudio.com/download
2. Clone a git hub repository with sample source code - vscode://gitclone/https/github.com/Microsoft/AL/
//3. Install extension - vscode://extension/microsoft.al
Step 3 seems to be supported but doesn't work - see #20289
The text was updated successfully, but these errors were encountered: