question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vscode:// url redirect does not open vscode. No alternatives offered.

See original GitHub issue

Issue Type: Bug

  1. On Ubuntu run snap install vscode to install from the snap store
  2. Start vscode using the icon in the dashboard
  3. Install the GitHub Pull Requests plugin and click the popup to login
  4. Login to GitHub and click the “Continue” button
  5. If the browser prompts to run xdg-open approve the request (this is the Linux mechanism to launch URL handlers
  6. VSCode does not receive the URL trigger because snaps don’t provide an interface for this feature yet.
  7. 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 😃
  8. 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:closed
  • Created 5 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
queervioletcommented, Oct 12, 2018

We can add a copy-paste fallback for if the protocol handler fails.

0reactions
queervioletcommented, Nov 8, 2018

@pdf — It needs read/write on all your repos, public and private.  I’ll update the docs with that information.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found