Replies: 3 comments 6 replies
-
|
Oh this is a great question. I think @code-asher might have some tips/ideas |
Beta Was this translation helpful? Give feedback.
-
|
I bet this hasn't been modified to work in the browser yet. We'll likely need to patch VS Code to use https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler But this is definitely better done upstream. |
Beta Was this translation helpful? Give feedback.
-
|
Does Maybe code-server can have a special route it self to handle this message? Like below: This added the benefit: there're no notification/confirmation when user open it, more smooth than VSCode. |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
How to handle protocol
vscode://uri with existing extension?From documentation of
vscode.window.registerUriHandler():I want to migrate an existing vscode plugin to code-server, but don't know how to get
handleUrievent work like below code:Local vscode can trigger
handleUrimessage when openvscode://my-plugin/pathfrom browser, how does code-server do similar like this? That is code-server already in browser, and how to notify my plugin with message passed fromvscode://my-plugin/path, what's the right entry for this special URI?Beta Was this translation helpful? Give feedback.
All reactions