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

Enable laravel-blade-snippets to run on VS Code on the Web #143

Open
isidorn opened this issue Nov 25, 2021 · 3 comments
Open

Enable laravel-blade-snippets to run on VS Code on the Web #143

isidorn opened this issue Nov 25, 2021 · 3 comments

Comments

@isidorn
Copy link

isidorn commented Nov 25, 2021

👋 I'm Isidor, a PM from the VS Code team, and 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 laravel-blade-snippets can run in the web, and we have a guide for enabling extensions for the web here. As a couple of highlights:

  • In VS Code for the Web, both the UI and extension host run inside the browser.
  • A web extension is structured like a regular extension, but with a different main file: it's defined by the browser property
  • Access to workspace files needs to go through the VS Code file system API accessible at vscode.workspace.fs
  • There are currently three ways to test a web extension

I saw that you have some node dependencies that might be super easy to replace, however I wanted to create this issue so we get the conversation going.
Also I see that your extension is contributing grammars, so it might make sense to use when clauses and disable other contributions which do not work on the web, but make sure that grammars are still contributed

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 collaborate. Thank you!

@bamurtaugh
Copy link

Hi @onecentlin! I was wondering if you might have thoughts on this? We're happy to discuss if you have any questions or feedback. Thank you!

@onecentlin
Copy link
Owner

@bamurtaugh Yes, I would like to support this extension for the web. Since this extension contains language server, which was contributed by one of the contributors, I am not sure if it would be effected.

@bamurtaugh
Copy link

Thanks for your response @onecentlin!

Since this extension contains language server, which was contributed by one of the contributors, I am not sure if it would be effected.

@tanhakabir thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants