intersystems-community / intersystems-servermanager

VS Code helper extension defining connections to InterSystems servers
https://marketplace.visualstudio.com/items?itemName=intersystems-community.servermanager
MIT License
12 stars 12 forks source link

Lack of web compatibility blocks ObjectScript 2.12+ extension from being usable in the browser version of VS Code #232

Open gjsjohnmurray opened 1 month ago

gjsjohnmurray commented 1 month ago

See https://community.intersystems.com/post/vscode-objectscript-github#comment-266991

isc-bsaviano commented 1 month ago

The browser version of vscode-objectscript does almost nothing:

https://github.com/intersystems-community/vscode-objectscript/blob/ef66f3abac696dde8fd04c5b947dbabc41bbb7dc/src/web-extension.ts#L14-L31

nickmitchko commented 3 days ago

This should work in VSCodium and other "browser based" vscodes.

Edit: Running 2.12.5 in code-server that works fine.

isc-bsaviano commented 3 days ago

@nickmitchko This extension will definitely work with VSCodium. My comment above only applies to "VS Code(ium) in the web" where the extensions are running directly in the browser. This extension could be made to support that environment, but the vscode-objectscript extension does almost nothing in such an environment currently and the Language Server needs a node backend for the proprietary language parsers. Something like code-server, where the VS Code UI is accessed in a browser but the extensions themselves run on a server, is fully supported and provides the "browser based" user experience without the environment limitations.

nickmitchko commented 3 days ago

@isc-bsaviano Just edited, code-server is where I am running with success. I guess the original issue is vscode.dev?

isc-bsaviano commented 3 days ago

Yes, vscode.dev is a browser-only environment where this extension isn't supported.