Hacker News new | past | comments | ask | show | jobs | submit login

locked-in to visual studio code? no thanks



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.


Sounds like terminal editors can be supported but not alternative graphical editors like Sublime or IntelliJ.


Could just use sshfs with any of those editors


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


> 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.


I would claim that if you can SSH in, you can do anything, including exposing a network share over ssh.


> 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.



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."


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.


They mention exposing ssh access so their team can remote in from tools of their choice.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: