Skip to content

Visual Studio Code

The following guide is for connecting to Neurodesktop using a VS Code installation running on your host machine.

Visual Studio Code (https://code.visualstudio.com) installed on your host. Standalone version should work fine.

Install the following VS Code extension:

  • Dev Containers (ms-vscode-remote.remote-containers) from Microsoft

Start Neurodesk through the Neurodesk App or through a docker command.

Open VS Code and open the Remote Explorer. Then attach to the running Neurodesktop container.

To check which user is being used, open the terminal in the Neurodesktop VS Code instance and check if the user is user or root.

You can change to the correct user by running su jovyan.

Plugins to view neuroimaging data inside VS Code:

niivue-vscode

niivue extension screenshot