Skip to content

Register URL handler for code scheme #1571

Open
@kalikiana

Description

@kalikiana

code-server should be able to handle the code scheme, so URLs like vscode:extension/kayteh.plastic-slate such as used to install themes via a Open in VSCode button e.g. on the Plastic Slate theme page on VSCodeThemes.

Edit: not sure if we can handle code because the protocol must start with web+. Handling web+code-server might make sense though.

Activity

nhooyr

nhooyr commented on Apr 28, 2020

@nhooyr
Contributor

Given code-server doesn't run as an app locally, I'm not sure how we'd register for and handle such URLs.

kalikiana

kalikiana commented on Apr 29, 2020

@kalikiana
Author

Given code-server doesn't run as an app locally, I'm not sure how we'd register for and handle such URLs.

Using registerProtocolHandler the scheme can be mapped to a URL. Your browser will then confirm with the user that this is what they want.

nhooyr

nhooyr commented on Apr 30, 2020

@nhooyr
Contributor

Neat, didn't know that existed, thanks for sharing.

added
featureNew user visible feature
and removed
enhancementSome improvement that isn't a feature
on Dec 8, 2020
added this to the Backlog milestone on Apr 29, 2021
stale

stale commented on Oct 26, 2021

@stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.

bilogic

bilogic commented on Oct 14, 2023

@bilogic
Contributor

I would have thought this is handled by vscode, is it still on the roadmap?

code-asher

code-asher commented on Oct 16, 2023

@code-asher
Member

It is not on the roadmap, and I am not sure if VS Code has added support for this. Does anyone know if it works in Codespaces?

12 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew user visible feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bilogic@kalikiana@jsjoeio@nhooyr@TamiTakamiya

        Issue actions

          Register URL handler for code scheme · Issue #1571 · coder/code-server