Article
· Dec 3, 2021 1m read

VSCode-ObjectScript on GitHub

Not so while ago GitHub introduced, ability to very quickly run VSCode in the browser for any repository hosted there. Press the . key on any repository or pull request, or swap .com with .dev in the URL, to go directly to a VS Code environment in your browser.

github dev

This VSCode is a light version of the Desktop version but works entirely in Browser. And due to this, it has a limitation for extensions which was allowed to work this way. And let me introduce the new version 1.2.1 of VSCode-ObjectScript extension which now supports running in Browser mode.

What you will need to do, is to open any repository in this new environment, go to extensions, search and install VSCode-ObjectScript extension. Installed once it will be available for any repository, you will open next.

It's the same extension but has just basic functionality for now. Just syntax highlighting. For sure it does not have access to running IRIS, but some more features, which could be available offline, may appear in the future.

Without GitHub

There is one more option, if you wish to run VSCode in browser, but not tied to any GitHub repo, and just open some of your local folder. It's https://vscode.dev. VSCode-ObjectScript extension became available there as well.

Discussion (6)4
Log in or sign up to continue

This is caused by how version 2.12.0 and above of the ObjectScript extension depends on the Server Manager extension, which hasn't yet been made compatible with VS Code in the browser.

I have created https://github.com/intersystems-community/intersystems-servermanager/iss...

Workaround is to use the gearwheel on the extension's detail page, then choose to install the latest pre-2.12 version.