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

Make TypeSpec VSCode extension web compatible #4095

Open
timotheeguerin opened this issue Aug 5, 2024 · 1 comment
Open

Make TypeSpec VSCode extension web compatible #4095

timotheeguerin opened this issue Aug 5, 2024 · 1 comment
Labels
feature New feature or request ide Issues for VS, VSCode, Monaco, etc. triaged:core
Milestone

Comments

@timotheeguerin
Copy link
Member

timotheeguerin commented Aug 5, 2024

To be able to use our extension on vscode.dev we need to make it a web extension

Doc: https://code.visualstudio.com/api/extension-guides/web-extensions
Example for LSP: https://github.com/microsoft/vscode-extension-samples/tree/main/lsp-web-extension-sample

There is also the issue that our extension needs the compiler installed locally which I assume wouldn't be possible here. But at least providing the syntax highlighting would be nice

This most likely be able to be done in progressive stages:

- [x] tmgrammar and language config, don't even need anything else from the extension
- [ ]  formatter
- [ ] figure out how to pull in some part of the language server where we might not have the packages installed
@timotheeguerin timotheeguerin added feature New feature or request ide Issues for VS, VSCode, Monaco, etc. labels Aug 5, 2024
@markcowl markcowl added this to the Backlog milestone Aug 12, 2024
@lbb00
Copy link

lbb00 commented Sep 20, 2024

I am extremely eager to use typespec lsp by @shopify/codemirror-language-client on CodeMirror! This way, I can use typespec in CodeMirror with great enthusiasm! 😃

github-merge-queue bot pushed a commit that referenced this issue Sep 25, 2024
Basically just register the extension providing the extension
configuration(tm grammar and other language config like quote style,
matching tokens, etc.)

progress for #4095

---------

Co-authored-by: Christopher Radek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request ide Issues for VS, VSCode, Monaco, etc. triaged:core
Projects
None yet
Development

No branches or pull requests

3 participants