Hacker News new | ask | show | jobs
by mih 1686 days ago
Does VSCode offer a terminal user interface? With Emacs/Vim I can SSH to a remote machine and immediately start editing with muscle memory using the same keystrokes as in the GUI.

Sure VSCode has its strengths and as an IDE easier to get started and work with, especially for newcomers. That said, the fact that it requires a desktop environment to operate in means there are niches that Emacs fills which VSCode currently cannot.

3 comments

> Does VSCode offer a terminal user interface?

No

Can VSCode be used to SSH to a remote machine and immediately start editing with muscle memory using the same keystrokes as in the GUI?

Yes: https://code.visualstudio.com/docs/remote/ssh

With regard to vim, unless you've really hacked away at your .vimrc / init.vim, you can usually just apply the vim plugin to your editor and have an identical file editing experience. Interfacing with the file system / Git / operating system might of course differ - I personally use the editor's integrated terminal or a tiled terminal emulator for all that, so it makes no difference to me. This way I can use vim for ssh or editing config files, an IDE for programming if one is available for the given language, or VSCode for a preconfigured vim++.
> Does VSCode offer a terminal user interface?

Yes, but it's very buggy, and tends to drop both connections and characters all the time. If you're doing heavy terminal work you need an external terminal.

EDIT: actually I realised you were probably talking about running headless, whereas I was thinking of an integrated terminal. I don't believe vscode can run headless.