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).
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.
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
Out of interest, did you make the changes via the new cloud editor?
I used the default Editor in Github Web text viewer
.png)
I saw no difference over the last months
not this way then...
I just found a note on Syntax Highlighting.
Though I have no idea how this is related to this new editor ? Ping @Dmitry Maslennikov ?
https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#syntax-highlighting
I'll stay with the old one
It seems in github.com .gitattributes are honored and code coloring works OK
while the NEW editor in github.dev ignores it.
And I found it boring slow in startup
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.
Hi @Sean Connelly!
Yes, it is impressive indeed.
Have you tried Github Codespaces?
Here is my video on the experience.
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.
I never tried that! It'd be great to see Co-Pilot working with ObjectScript!
And with Embedded Python too, of course :)
Codespaces allows you extensions and even docker images creation and deployment!
Fascinating technology, I was able to code from iPad on IRIS! :)
Though this looks quite impressive I have 2 concerns
#1
.png)
#2
.png)
Still 23 days to go free.
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.
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.
Welcome back, Sean!
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.