How can I improve my remote development experience with Code – OSS?

0
6
Asked By CuriousCactus42 On

Hey guys, I'm having a rough time working on remote machines. While I've found tmux super helpful, I find editing files in vim isn't cutting it anymore. I need to look up function definitions while editing and have some basic IntelliSense and autocomplete features working. I've got my custom Code - OSS profile set up with tools like basedpyright, ruff, and vscode-neovim, but I'm struggling to find good extensions for remote development.

I've tried using Remote SSH on VSCode but it's not compatible with Code - OSS, and I've had to deal with some quirks like installing .vsix files from OpenVSX manually. I also attempted to use VSCodium installed via Flatpak, but I ran into issues like it not finding neovim or ruff because of sandboxing, which feels very clunky.

Right now, every time I need to consult source code or documentation while coding, I do so without IntelliSense, which is frustrating. I'd appreciate any advice you have on getting a smoother experience! For context, I'm using the Void Linux distribution with DWM as my window manager.

2 Answers

Answered By TechSavvyBunny On

Have you tried using sshfs? It's a simple tool that allows you to mount a remote filesystem over SSH, which means you wouldn't need special editor plugins. Your distro should have setup instructions in the docs!

LostInCode88 -

I gave sshfs a shot already, but it didn't go well. It seems like my Python interpreter is malfunctioning because it's linking to Installation of Python from UV instead of the one in my .venv/bin. Plus, working on a mounted directory doesn't feel as seamless as coding directly on the remote machine.

Answered By DigitalNomad101 On

X11 forwarding might be the way to go for you! It allows you to forward the graphical display of applications over your SSH connection. Just remember to think about what you really need and try to set it up in a minimalistic way to avoid unnecessary complications.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.