News for hackers. Stuff that matters.
Re:GitHub’s engineering team has moved to Codespaces by zanethomas on Wednesday August 11, 2021 @12:11PM (#28143857)
locked-in to visual studio code? no thanks
Re:GitHub’s engineering team has moved to Codespaces by pegler on Wednesday August 11, 2021 @12:13PM (#28143894)
The article mentions supporting vim and emac, which probably means any editor can be supported.

  Visual Studio Code is great. It’s the primary tool GitHub.com engineers use to interface with codespaces. But asking our Vim and Emacs users to commit to a graphical editor is less great. If Codespaces was our future, we had to bring everyone along.

  Happily, we could support our shell-based colleagues through a simple update to our prebuilt image which initializes sshd with our GitHub public keys, opens port 22, and forwards the port out of the codespace.
Re:GitHub’s engineering team has moved to Codespaces by dharmab on Wednesday August 11, 2021 @12:15PM (#28143921)
Sounds like terminal editors can be supported but not alternative graphical editors like Sublime or IntelliJ.
Re:GitHub’s engineering team has moved to Codespaces by theblazehen on Wednesday August 11, 2021 @12:30PM (#28144178)
Could just use sshfs with any of those editors
Re:GitHub’s engineering team has moved to Codespaces by Klathmon on Wednesday August 11, 2021 @12:25PM (#28144091)
I think terminal editors are supported by allowing an SSH tunnel, and both Sublime and the IntelliJ suite have plugins to allow you to use them against remote systems over ssh
Re:GitHub’s engineering team has moved to Codespaces by msbarnett on Wednesday August 11, 2021 @12:17PM (#28143963)
> The article mentions supporting vim and emac, which probably means any editor can be supported.

I read that as you can ssh in and run a terminal-based editor, but that doesn't seem to offer much support for people looking to edit in NEdit or Intellij or Atom or Sublime or whatever else. Maybe some of those could be supported by forwarding an XSession out of the image, but that's going to suck hard for people on macOS whose editor is now the Linux/X version, with all of the attendant mismatch.

Re:GitHub’s engineering team has moved to Codespaces by nomel on Wednesday August 11, 2021 @12:32PM (#28144204)
I would claim that if you can SSH in, you can do anything, including exposing a network share over ssh.
Re:GitHub’s engineering team has moved to Codespaces by umanwizard on Wednesday August 11, 2021 @12:29PM (#28144157)
> support our shell-based colleagues

What do vim and emacs have to do with the shell?

This is another case of people thinking "shell" is synonymous with "TUI", which is false.

Re:GitHub’s engineering team has moved to Codespaces by listless on Wednesday August 11, 2021 @12:15PM (#28143923)
Re:GitHub’s engineering team has moved to Codespaces by yehudalouis on Wednesday August 11, 2021 @12:14PM (#28143910)
From the article, it looks like future support for other IDEs is definitely possible:

"Visual Studio Code is great. It’s the primary tool GitHub.com engineers use to interface with codespaces. But asking our Vim and Emacs users to commit to a graphical editor is less great. If Codespaces was our future, we had to bring everyone along.

Happily, we could support our shell-based colleagues through a simple update to our prebuilt image which initializes sshd with our GitHub public keys, opens port 22, and forwards the port out of the codespace.

From there, GitHub engineers can run Vim, Emacs, or even ed if they so desire."

Re:GitHub’s engineering team has moved to Codespaces by spfzero on Wednesday August 11, 2021 @12:30PM (#28144176)
Yeah, love the dig at terminal editors with "ed". Anyone using one of those must be stuck back in the 70s on a 16-bit minicomputer terminal.
Re:GitHub’s engineering team has moved to Codespaces by zackify on Wednesday August 11, 2021 @12:17PM (#28143955)
They mention exposing ssh access so their team can remote in from tools of their choice.