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

Support github.dev & vscode.dev web editors #239

Open
lemmy opened this issue Sep 15, 2021 · 2 comments
Open

Support github.dev & vscode.dev web editors #239

lemmy opened this issue Sep 15, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@lemmy
Copy link
Member

lemmy commented Sep 15, 2021

The extension doesn't work in the github.dev web editor: "The 'TLA+' extension is not available in Visual Studio Code for the Web."

Why is an extension not installable in the browser#
There are a small number of extensions that have built-in assumptions or need to run on the desktop. Examples are when an extension accesses files from the VS Code installation on the desktop or when an extension depends on an executable that must run in a desktop environment. When you try to install such an extension in the browser, you will be informed that the extension is not available.
Notice such an extension can still be used when connecting to a Codespace from VS Code running on the desktop.

(from https://code.visualstudio.com/docs/remote/codespaces#_why-is-an-extension-not-installable-in-the-browser) Also, https://code.visualstudio.com/updates/v1_60#_web-extensions has technical background.

It is unlikely that TLC will ever run in the browser, but syntax highlighting should be possible.

@lemmy lemmy added the enhancement New feature or request label Sep 15, 2021
@lemmy lemmy changed the title Support github.dev web editor Support github.dev & vscode.dev web editors Oct 20, 2021
@lemmy
Copy link
Member Author

lemmy commented Oct 21, 2021

Likely related to make web-views work: https://code.visualstudio.com/blogs/2021/10/11/webview-ui-toolkit

Running SANY in WASM could probably be accomplished by using GraalVM: https://www.graalvm.org/

@lemmy
Copy link
Member Author

lemmy commented Feb 3, 2022

A more promising approach would be to use @will62794 https://github.com/will62794/tla-web for the purely browser-based variant of the VSCode extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant