vscode:// url redirect does not open vscode. No alternatives offered.
See original GitHub issueIssue Type: Bug
- On Ubuntu run
snap install vscodeto install from the snap store - Start vscode using the icon in the dashboard
- Install the GitHub Pull Requests plugin and click the popup to login
- Login to GitHub and click the “Continue” button
- If the browser prompts to run
xdg-openapprove the request (this is the Linux mechanism to launch URL handlers - VSCode does not receive the URL trigger because snaps don’t provide an interface for this feature yet.
- Try to find an alternative way to trigger vscode with the URL directly, such as on the commandline, but realise there is no documentation on how to do such things 😃
- That’s it.
The vscode cannot be triggered via the URL handling mechanism as mentioned because of snap limitations currently. There is no alternative mechanism to get the URL to vscode that is readily identifiable to a user. It would be handy to provide a command line snippet that will achieve the same as the URL handler for cases where the URL handler fails.
Extension version: 0.2.0 VS Code version: Code 1.28.0 (431ef9da3cf88a7e164f9d33bf62695e07c6c2a9, 2018-10-05T14:52:58.945Z) OS version: Linux x64 4.15.0-36-generic
System Info
| Item | Value |
|---|---|
| CPUs | Intel® Core™ i7-6700 CPU @ 3.40GHz (8 x 3834) |
| GPU Status | 2d_canvas: unavailable_software checker_imaging: disabled_off flash_3d: unavailable_software flash_stage3d: unavailable_software flash_stage3d_baseline: unavailable_software gpu_compositing: unavailable_software multiple_raster_threads: enabled_on native_gpu_memory_buffers: disabled_software rasterization: unavailable_software video_decode: unavailable_software video_encode: unavailable_software webgl: enabled_readback webgl2: unavailable_off |
| Load (avg) | 2, 2, 2 |
| Memory (System) | 31.30GB (0.40GB free) |
| Process Argv | . |
| Screen Reader | no |
| VM | 0% |
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Command Line Interface (CLI) - Visual Studio Code
Opening VS Code with URLs You can use the URL in applications such as browsers or file explorers that can parse and redirect...
Read more >Visual Studio Code for the Web
You can open any repository, branch, or tag from Azure Repos in VS Code for the Web by prefixing vscode.dev to the Azure...
Read more >Debugging in Visual Studio Code
One of the great things in Visual Studio Code is debugging support. Set breakpoints, step-in, inspect variables and more.
Read more >Code Navigation in Visual Studio Code
The editor has a navigation bar above its contents called Breadcrumbs. It shows the current location and allows you to quickly navigate between...
Read more >May 2022 (version 1.68) - Visual Studio Code
Deprecated extension with no maintenance. An extension deprecated in favor of another extension. In this case, VS Code does not allow users to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We can add a copy-paste fallback for if the protocol handler fails.
@pdf — It needs read/write on all your repos, public and private. I’ll update the docs with that information.