News for hackers. Stuff that matters.
Re:Python in Visual Studio Code – April 2019 Release by shaklee3 on Wednesday April 24, 2019 @09:14AM (#19737966)
Not to hijack the thread, but does anyone know a good way to run vscode remotely? I have a large c++ code base that only compiles on a specific server, and I'd like to run it there. I tried code-server, but it's extremely buggy, and not quite ready for prime time. X forwarding was also painfully slow. Is vnc the only option?
Re:Python in Visual Studio Code – April 2019 Release by bmaupin on Wednesday April 24, 2019 @09:24AM (#19738047)
Why not think of the problem from the other end? Instead of running vscode on the server, run it locally and use one of the SSH/SFTP plugins (e.g. [1] [2]) to sync the code with the server.

[1] https://marketplace.visualstudio.com/items?itemName=liximomo...

[2] https://marketplace.visualstudio.com/items?itemName=Kelvin.v...

Re:Python in Visual Studio Code – April 2019 Release by jpeeler on Wednesday April 24, 2019 @01:53PM (#19741030)
This sounds like a job for mutagen: https://github.com/havoc-io/mutagen.
Re:Python in Visual Studio Code – April 2019 Release by shaklee3 on Wednesday April 24, 2019 @01:16PM (#19740598)
I tried that, and it seems to lose some of the capabilities you get otherwise, like issuing remote commands to build. I'll take another look, though.
Re:Python in Visual Studio Code – April 2019 Release by K2L8M11N2 on Thursday April 25, 2019 @08:05PM (#19753698)
You could try to mount it locally with sshfs, it should work like with regular files.
Re:Python in Visual Studio Code – April 2019 Release by SonOfKyuss on Wednesday April 24, 2019 @09:26AM (#19738071)
Instead of remoting the display, I mount the remote filesystem using the sshfs extension.

https://marketplace.visualstudio.com/items?itemName=Kelvin.v...

Re:Python in Visual Studio Code – April 2019 Release by shaklee3 on Wednesday April 24, 2019 @10:03PM (#19744390)
Looks like intellisense doesn't work on these...
Re:Python in Visual Studio Code – April 2019 Release by blh on Wednesday April 24, 2019 @09:24AM (#19738049)
Can you mount the server via sshfs or so and run VS Code locally and just compile remotely via SSH?
Re:Python in Visual Studio Code – April 2019 Release by dalore on Wednesday April 24, 2019 @09:33AM (#19738127)
Try using x2go, it's a lot better then x forwarding.