lf-lang / vscode-lingua-franca

Lingua Franca extension for Visual Studio Code
Other
4 stars 3 forks source link

Compatibility with Github.dev #78

Closed lhstrh closed 1 year ago

lhstrh commented 2 years ago

Our extension is not compatible with Web use: https://code.visualstudio.com/docs/editor/vscode-web#_extensions

Is this a fundamental issue, or are there ways to make our extension compatible?

On a related note, I found this blog post that talk about how Code Spaces on GitHub compares to GitPod: https://www.freecodecamp.org/news/github-codespaces-vs-gitpod-cloud-based-dev-environments/

axmmisaka commented 1 year ago

This is a fundamental issue; some of our plugin relies on Java-based LSP which certainly cannot run in an isolated browser environment https://github.com/lf-lang/vscode-lingua-franca/blob/e381b4f3dd56b31e441d82160a8b8eb93d58a7aa/src/extension.ts#L90-L92

We could make our extension compatible, if I understand it correctly, by making it give partial IntelliSense support (https://code.visualstudio.com/docs/nodejs/working-with-javascript#_partial-intellisense-mode) (I don't know how exactly to do that), because our syntax highlighter seems to be 100% ts native and should be able to run within a browser

lhstrh commented 1 year ago

I see. However, if we don't get full functionality (i.e., we cannot build programs) then I don't think it will be very useful...

petervdonovan commented 1 year ago

It seems like work has been done on this: https://github.com/axmmisaka/lingua-franca-playground/tree/axmmisaka/codespace

Can we close this issue? Or does more need to be done with Codespaces or GitPod?

lhstrh commented 1 year ago

GitPod and github.dev are two different things. That said, there really isn't much actionable here, so let's close this issue.