Change default extensions location for remote development in VS code - visual-studio-code

I have a visual studio code installed in a desktop. As I don't have any runtime environments installed in it, the source code repository is kept in the remote server where the runtime and other dependencies are available, so SSH connection is established from the VS code to update the source code.
I'm installing few extensions using VS code in the remote server where the source code and runtime are available. It gets installed in my home directory(/home/myname/.vscode-server)by default on the remote server.
As I have very limited disk space in my home directory, I want to change the extension location of vs code. Can you guide me here?. Your insights will be helpful. Thank you !!!
PS: Can't install VS code in the remote server due to limited access rights.

It has been well discussed on GitHub under https://github.com/microsoft/vscode-remote-release/issues/472 and remote.SSH.serverInstallPath is the current solution.

Related

Visual studio code remote-ssh code syntax highlight

I'm remotely connecting via Microsoft remote-ssh plugin on Visual code studio 1.65.2 on Manjaro Linux (rolling build 64-bit). I'm having trouble with syntax highlight, it does not work. I work otherwise locally or via mapped drives, but not over remote ssh. Am I missing something, perhaps configuration? I would prefer not install to plugins on remote server.
I think plugin was needed to be installed on the server to make this work, however I was trying to avid that. Instead I used the FTP plugin to sync the files between local folder and remote.

Remote development with VS Code

I'm running Alpine 3.12 with the latest 64-bit kernel. Installed VS extension for remote server ssh connections and by trying to connect, I see that the process has downloaded a folder ".vscode-server" on my remote server, which means that the connection happened, but after loading for some time I receive this message "The remote host may not meet VS Code Server's prerequisites for glibc and libstdc++". I did some googling on this, and I see that a few people were having trouble as they didn't have enough space on their server storage to install some libraries, but this is not the case for me. The extension itself provides me with this link https://code.visualstudio.com/docs/remote/linux#_remote-host-container-wsl-linux-prerequisites explaining that there could be problems for Alpine based systems, but it should work anyways, but I can't quite find the problem. Maybe someone has faced this issue and can guide me to the solution?

Visual Studio Code inside Company network

Is there a standard way to handle Visual Studio Code inside a company network, in which VS Code is not allowed to contact the Internet?
For e.g. Eclipse, we can host our own update sites for plugins and can package pre-configured versions of the IDE for the developers.
Is there something similar for VS Code?
There are two ways (I know of) how you can provide pre-configured VSCode-installations
A) VSCode inside a Docker container. You'll have a minimal standard installation of VSCode on your computer, all plugins and settings come with the Docker image that is loaded into your local VSCode installation. See docs here: https://code.visualstudio.com/docs/remote/containers
B) VSCode web. This is a zero-installation version of VSCode which is running in the web browser. See docs here: https://code.visualstudio.com/docs/editor/vscode-web You can try it on GitHub: open any repo and change .com in the domain to .dev

Remote Kubernetes development in Spyder (Python) with Okteto

For Visual Studio Code (VSC) it is possible to install the Remote-Kubernetes extension which allows you to work directly with remote development environments, spinning them up, configuring them etc. More info here.
Is something similar possible for Spyder?
I am aware that a connection to a remote kernel can be made but this seems to require for the remote environment to already be running. Am looking for same functionality as the okteto up command in VSC.

Visual Studio Code remote target on Raspberry

it is advertised that Visual Studio Code is able to compile and debug on a remote machine.
I've installed VSCode on Ubuntu and I want to compile and debug on the remote Raspberry.
I've setup GDB server on the remote Raspberry but on the Microsoft site it is not detailed how to configure the VSCode IDE in order to connect the remote Raspberry.
There is someone that can give a solution on VSCode (Not on standard Visual Studio)?
Thanks
Massimo
Due to the fact that nobody answered my question probably means that nobody use Visual Studio Code with Raspberry.
Then I've investigate myself and I can suggest to use Netbeans that allows the remote development and debugging as well.
It takes less thn 10 minutes to install and configure Netbeans because it include some automatic discovery and configuration automation.
Also this time Microsoft failed !
Massimo