Search code examples
pythonvisual-studio-codevscode-remote

Does extension in vscode affect to the remote server?


I'm wondering if the VSCode extension installation affects the remote server.

I already connected to the server using remote ssh and tried debugging the Python file.
When I tried to run the Python code in VSCode, there was an error message that I should install the Python extension for the following process.
But I'm worried whether the Python extension affects the version of Python in the remote server because I share the server with others.
Does the Python extension in the VSCode independent of the Python in the system?

enter image description here


Solution

  • This will not affect your use, you can install it in the extension stroe.

    VS Code runs extensions in one of two places: locally on the UI / client side, or remotely on the SSH host. While extensions that affect the VS Code UI, like themes and snippets, are installed locally, most extensions will reside on the SSH host. This ensures you have smooth experience and allows you to install any needed extensions for a given workspace on an SSH host from your local machine.

    If you install an extension from the Extensions view, it will automatically be installed in the correct location.

    You can read document about managing extension for more details.