-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Provide documentation on how to write extensions in GitHub.dev #130628
Comments
Hi,
Add it to your package.json, much like the I managed to install my extension vscode-source-map, tho something doesn't work regarding the contributed action, one step at a time 😁 |
Also found a LSP web-enabled sample extension = https://github.com/microsoft/vscode-extension-samples/tree/main/lsp-web-extension-sample |
We're in the process of updating our extension API doc to show what it needs to allow and extension to run in the web-worker extension host, i.e. right in the browser. |
@kieferrm thanks 👍 another note, I found https://github.com/microsoft/vscode-test-web which I guess can help testing for web compatiblity |
Requirements for browser compatibility are unclear to me as well. As I see it, the following features cannot be used in browser:
But what is about, e.g., storing data in a file system cache? Is there already an API, or could VS Code provide one, that allows extensions to read from and write to a cross-workspace cache? For VSC on desktop, this could map to |
The guide for web extensions is worked on here: https://github.com/microsoft/vscode-docs/blob/vnext/api/extension-guides/web-extensions.md Feedback is welcome! |
Hi @aeschli , Thanks a lot for the documentation. It’s extensive but informative. Contratulations 👏 I didn’t try to update any of my extensions yet, but I read the documentation carefully and looked the updated vscode-extensions-sample repo. I think I understood the idea, but I missed one thing and I think it could be an improvement to the documentation and/or samples repo:
Also, based on this phrase in the publishing section ( ”Web extensions are hosted on the Marketplace along with other extensions.” ), my understanding is that the web version will be a different package. Is that correct, or will I also looked at other web ready extensions (mostly from MS/VSCode team) which were already available at launch, and noticed these missing pieces. That’s another reason why I think those samples would help other extension developers to update their extensions. Thank you |
@alefragnani Thanks for the feedback. I restructured the article to give more space for
At the moment it's the same package . That means when a user installs an extension on disk, it contains all the bits. That's not ideal and we are working on a solution. But the idea is that |
Closing as fixed. The guide will be part of the docs that are published once the August release is out. |
Related question - as TypeScript can |
I've never seen that |
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
.
Copy Word in Cursor
extension from alefragnaniLearn More
linkThanks in advance
The text was updated successfully, but these errors were encountered: