Skip to content
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

Open in Client #363

Open
goyalyashpal opened this issue Nov 8, 2021 · 4 comments
Open

Open in Client #363

goyalyashpal opened this issue Nov 8, 2021 · 4 comments
Labels
good first issue Good for newcomers priority:low webui Component: webui

Comments

@goyalyashpal
Copy link

goyalyashpal commented Nov 8, 2021

Migrated 🍬 from EclipseFdn/publish-extensions#484
^f : VSCodium --> Client {sorry, dont know regex and its notations yet 😅😄}

Summary

Ability to open in a client, an extension's page directly from its link

Steps to try

  1. To open an extension in client, whose id/link is available: example
  2. Update: see this daiyam's comment
    There's no option other than manually searching for that extension in the VSCodium. i dont know about other clients.

Details:

  • There should be a button on open-vsx site to pass the intent to open extension in client
  • The info about the intent is given at daiyam's comment
Old initial input
  • It would be really nice if the open-vsx site has some mechanism to trigger "Open in Client" behaviour which will enable to directly open it in the client when extension is shared as id or link.
  • For implementation, open-vsx will have to set a standard (link i guess 🤔), and
    all the clients which want to support this feature will enable the support for that standard in their applications.
    See for reference: multiple apps in the video (0:07) attached in "telegram" section below.
  • similar to how intents work in android and different apps can support that intent
    like for a youtube music link: following apps support that: newpipe, youtube music, youtube, youtube go, most all browsers
  • i GUESS this page Using-Open-VSX-in-VS-Code says smth on that matter, but since i havent tried it yet, asking: is it same as what this suggestion is about?
  • The current requirement of manually searching:
    • requires mental effort
    • is time consuming
    • is VERRY inefficient
    • removes any chance for semi-automation

Rough mockup:


References:

  • found in other sites, including for example: the ms-vsmarket site, or telegram site.

  • Telegram:
    tg://resolve?domain=telegram
     open this video in new tab. one intent, multiple apps

  • MS-vsMarket: (ref: daiyam's comment)
    vscode:extension/darkriszty.markdown-table-prettify

@daiyam
Copy link

daiyam commented Nov 30, 2021

The url used to install the example extension on Visual Studio Marketplace is : vscode:extension/darkriszty.markdown-table-prettify. (vscode: is scheme associated with Visual Studio Code app)

While OpenVSX would need to support several editors, I'm thinking, the best solution would be to add a select input in footer so the user can select his/her preferred editor. And then, build the urls for that editor.

If it's VSCodium, then url would be vscodium:extension/darkriszty.markdown-table-prettify.
If it's XYZ, then url would be xyz:extension/darkriszty.markdown-table-prettify.

@goyalyashpal

This comment has been minimized.

@goyalyashpal
Copy link
Author

goyalyashpal commented Nov 30, 2021

oops, ignore my prev comment, had missed some point of the preceding comment.

@amvanbaren
Copy link
Contributor

amvanbaren commented Nov 22, 2022

to add a select input in footer so the user can select his/her preferred editor. And then, build the urls for that editor.

I think it's better to add the editor select to the open button, because this is the only editor specific functionality on the site.
Something like this:
open-in-editor-btn

We can add a user setting or use a cookie to store the user's preferred editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers priority:low webui Component: webui
Projects
Status: Todo
Development

No branches or pull requests

4 participants