Web Extensions #3
Replies: 6 comments 5 replies
-
I always have to use vscode.dev to test my extension. How do i use above option. this is what i have in {
"name": "Web Extension Tests",
"type": "pwa-extensionHost",
"debugWebWorkerHost": true,
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionDevelopmentKind=web",
],
"outFiles": ["${workspaceFolder}/dist/*.js"],
}
|
Beta Was this translation helpful? Give feedback.
-
@cedric05 that looks correct. What is the exact problem you run into? |
Beta Was this translation helpful? Give feedback.
-
@cedric05 do you have a repository you can share so we try to reproduce this on our side? |
Beta Was this translation helpful? Give feedback.
-
@aeschli can you help here? There seem to be good repro steps :) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
How do URL handlers work in the context of vscode.dev? I can use a link like vscode://{extension-id}/whatever to invoke a vscode.UrlHandler on the desktop, but I don't know what the corresponding route would be for vscode.dev. For the app I'm developing, I currently have an "Open in VSCode" link/menu item that will open a document in vscode desktop. I'm working on making the extension web/browser compatible and I'd like to offer a similar "Open in vscode.dev" menu item. Something like |
Beta Was this translation helpful? Give feedback.
-
We recently announced VS Code for the Web at https://vscode.dev/, which provides a free, zero-install Microsoft Visual Studio Code experience running entirely in your browser. You can learn more here.
We'd like to ensure your extension can run in the web, and we have a guide for enabling extensions for the web here. As a couple of highlights:
browser
propertyvscode.workspace.fs
Please let us know if you have questions or feedback on enabling your extension for the web - our team would love to learn from your experiences and help you migrate your extensions for the web. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions