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

vscode.dev support #793

Open
jbadeau opened this issue Nov 12, 2021 · 6 comments
Open

vscode.dev support #793

jbadeau opened this issue Nov 12, 2021 · 6 comments

Comments

@jbadeau
Copy link

jbadeau commented Nov 12, 2021

Now that microsoft has released https://vscode.dev/ and opensourced the vscode server, it would be great if the gauge plugin could be extended to run in the browser version as well. Most likely the file IO apis will need some work.

Cheers

@sriv
Copy link
Member

sriv commented Nov 12, 2021

It's a great idea, but not trivial to implement. gauge-vscode will be relatively easy to migrate to support web extension. However gauge-vscode requires gauge executable for two aspects - (1) as an LSP server, and (2) as a test runner.

(1) and (2) will require porting gauge and the runners to WebAssembly, which is where the main challenge is.

@jbadeau
Copy link
Author

jbadeau commented Nov 12, 2021

I think the LSP sever should run fine if a web socket proxy is put in front. I once tried using gauge deamon in lsp mode with Monaco and it worked. Prob need to adapt the plugin to use web socket as an alternative protocol.

@jbadeau
Copy link
Author

jbadeau commented Nov 12, 2021

Upload.from.GitHub.for.iOS.MOV

@jbadeau
Copy link
Author

jbadeau commented Nov 12, 2021

Ok I cheated, it's running on open vscode sever.

I installed Java, Gauge, into the docker image and installed the plugins via visa files. Works nicely

@zabil
Copy link
Member

zabil commented Nov 14, 2021

I installed Java, Gauge, into the docker image and installed the plugins via visa files. Works nicely

I haven't explored vscode.dev much yet but does it allow connecting to docker images or setting them up?

@jbadeau
Copy link
Author

jbadeau commented Nov 14, 2021

Not as far as I know. So making it work in the browser only is not really gonna be easy as already stated. However more projects and companies are basing there web IDEs off of vscode sever. What I am trying to do now is provide customised vscode that makes it easy for non technical people to write specs without a full blown ide.

It's working now but I will customise the ide ui to remove the unnecessary stuff.

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

No branches or pull requests

3 participants