Written by

Software Engineer at ...
Discussion Sean Connelly · Aug 17, 2021

GitHub has a new feature - VS Code in the cloud

Open up a random ObjectScript project (I think you need to be logged in first for this to work).

For example, the ZPM project

Then press "." (press full stop).

This will open the git repo inside an online instance of VS code.

Perhaps not that exciting for some, but I was impressed. Mainly because it's a good demo of editing ObjectScript in the cloud. As much as I like VS code locally, I still can't use it on many sites, and maybe not popular, but I still think IRIS + its own web IDE would be a killer combination. 

Looks like extensions in the marketplace are limited to core / common extensions at the moment, so no syntax highlighting yet.

Comments

Robert Cemper · Aug 17, 2021

the content of .gitattributes is incomplete 

should be:

*.cls linguist-language=ObjectScript
*.mac linguist-language=ObjectScript
*.int linguist-language=ObjectScript
*.inc linguist-language=ObjectScript
*.csp linguist-language=Html

*.sh text eol=lf
*.cls text eol=lf
*.mac text eol=lf
*.int text eol=lf
Dockerfil* text eol=lf

I'll place a PR to fix it

0
Sean Connelly  Aug 17, 2021 to Robert Cemper

Out of interest, did you make the changes via the new cloud editor?

0
Robert Cemper  Aug 17, 2021 to Sean Connelly

I used the default Editor in Github Web text viewer

I saw no difference over the last months

0
Robert Cemper · Aug 17, 2021

It seems in github.com .gitattributes are honored and code coloring works  OK
while the NEW editor in github.dev ignores it. sad
And I found it boring slow in startup

0
Dmitry Maslennikov  Aug 17, 2021 to Robert Cemper

github.dev, is just a simple VSCode but in the cloud. It may get a coloring if it would allow at least our main extensions for ObjectScript, which in fact provide a basic coloring. GitHub.com itself uses coloring from another source, which in fact almost the same as for VSCode.

I'll look at github.com, and maybe I will find a solution, how to get coloring there somehow. And thinking about Codespaces feature as well.

0
Sean Connelly  Aug 17, 2021 to Evgeny Shvarov

Hi Evgeny, apologies, been off the radar for a while so I missed the Codespaces post. I've not been given access to it yet, still on the waiting list. Does look very interesting.

Did you manage to use Co-Pilot with it yet? I was wondering if it could make any sense of ObjectScript. Seems like it might be the thin end of the ML edge.

0
Evgeny Shvarov  Aug 17, 2021 to Sean Connelly

I never tried that! It'd be great to see Co-Pilot working with ObjectScript!

And with Embedded Python too, of course :)

0
Evgeny Shvarov  Aug 17, 2021 to Sean Connelly

Codespaces allows you extensions and even docker images creation and deployment!

Fascinating technology, I was able to code from iPad on IRIS! :)

0
Robert Cemper  Aug 17, 2021 to Evgeny Shvarov

Though this looks quite impressive I have 2 concerns

#1

#2

Still 23 days to go free.

0
Evgeny Shvarov  Aug 18, 2021 to Robert Cemper

I understand them - they indeed provide the cloud infrastructure to host the development and to build and deploy containers then. Somebody pays for all this pleasure.

Nobody prevents from setting up the personal infrastructure similar to CodeSpaces even now. I don't see very much need for myself yet - my mac laptop is enough productive with VSCode and Docker desktop installed.

0
Robert Cemper  Aug 18, 2021 to Evgeny Shvarov

I see we share the same approach. Thanks for the confirmation.
As an isolated developer, I couldn't identify any significant improvement over my actual environment.

0
Dmitry Maslennikov · Aug 20, 2021

Added an article about GitHub Codespaces with an ability to edit ObjectScript with running IRIS inside. With an extra option to run own browser version of VSCode anywhere in the cloud on your own conditions.

0