this post was submitted on 10 Sep 2023
63 points (95.7% liked)

General Programming Discussion

7794 readers
7 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
 

Hey everyone!

I was just wondering why one would use any of the programs I mentioned above instead of VS Code to write Code.

Can someone give me a brief overview of the advantages?

Thanks in advance!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 35 points 1 year ago (1 children)

If you frequently work on remote systems you frequently only get command line access, where you can still use vim/nano/emacs but not a full IDE like VS Code. In that case you might find it more convenient to learn one text editor well and forgo the IDE.

[–] [email protected] 5 points 1 year ago (2 children)

you can use vscode over ssh, without installing anything on the remote system.

[–] [email protected] 13 points 1 year ago

There's a long list of caveats when running VS Code over SSH. By comparison, text editors:

  • Work on Alpine remotes
  • Work on older distributions, and other *NIX systems
  • Have no problems with SSH key passphrases or security keys
  • Only require a few MB of memory
  • When run in tmux are largely resilient to SSH connection issues
[–] [email protected] 5 points 1 year ago

Yea, no. It doesn't work with ssh agent and it cannot read includes and other configuration options. I believe it also tries to install some components remotely which is bad enough, but causes additional issues in environments with proxies or without internet access at all. Iirc also plugins must be installed remotely to work.

In a normal professional context it just does not work and it is a hassle to deal with. It might work in a home lab, but nowhere beyond that.