3 ms·
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
by pegler 5y ago
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.
- dharmab 5y agoSounds like terminal editors can be supported but not alternative graphical editors like Sublime or IntelliJ.
- Klathmon 5y agoI 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
- theblazehen 5y agoCould just use sshfs with any of those editors
- listless 5y agoThat does appear to be the case https://twitter.com/DynamicWebPaige/status/1397367944502468613?s=20 https://twitter.com/DynamicWebPaige/status/13973679445024686...
- msbarnett 5y ago> 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.
- nomel 5y agoI would claim that if you can SSH in, you can do anything, including exposing a network share over ssh.
- umanwizard 5y ago> 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.