Kate is a fantastic code editor (if you don't need an IDE, though it gained support for LSP) and is able to edit files over SFTP (without having to mount anything with SSHFS, which would be less efficient anyway because Kate would not be aware it is editing a distant file this way). KDevelop can probably too, and it is an IDE. I'd try QtCreator too.
In the same vain, Gedit and its forks can do this to if that's your cup of tea.
or vim, emacs or nano through a traditional SSH session :-)
nano is a surprisingly capable code editor. I like using it for quick edits or when I'm on a remote server. It's indentation can be configured (tab or space, how wide), it has optional line numbering, undo / redo, copy/paste (line based or more fine-grained), a very efficient search and replace that can cross files, syntax highlighting (a bit limited at times). It's fast. I know how to use vim and like it but haven't become proficient with it and its modal editing still gets in my way. I haven't tried Emacs. I have written sizable chunks of code with nano. I usually prefer Kate most of the time though. I've tried VS Codium but I find it too sluggish. I'd use it for some refactoring tasks but with Kate gaining LSP support (and true multi cursor mode), I have even less incentive to use Codium now. My muscle memory has been trained with Kate for 15 years now.
Rachel from rachelbythebay.com notoriously uses nano FWIW [1]
If you don't expect a very powerful editor, nano can be a good companion, but it is actually more powerful than most people think it is.
> Also I'd probably get pissed for using vim over ssh session to program when sometimes the network could sporadically slows down my cursor movement.
Also think of using screen or tmux or one of their alternatives in case your session breaks. It's bad enough being slowed down by a flaky connection, losing the session is very disruptive even if they produce backup files. There's also Emacs which comes with a server, I would expect it to survive connection losses but don't quote me on that.
In the same vain, Gedit and its forks can do this to if that's your cup of tea.
or vim, emacs or nano through a traditional SSH session :-)