Skip to content

Visual Studio Code Cursor

Mamie Wang edited this page Oct 16, 2025 · 3 revisions

OpenOnDemand VSCode

https://isvood001.mskcc.org/pun/sys/dashboard/batch_connect/sys/vscode/session_contexts/new

Remote development

Connect to login node

  1. Install Remote-SSH extension in VS Code: Extension > Remote-SSH
  2. Add a new host to Remote-SSH: F1 > Remote-SSH > Add new remote host (ssh <MSKUsername>@islogin01.mskcc.org)
  3. Connect to the login node: F1 > Remote-SSH > Connect to host

Connect to compute node

  1. Start an interactive job and note the name of the node your job is running on
ssh <MSKusername>@islogin01.mskcc.org
srun -p chanj3 -t 1:00:00 --mem=10G --pty bash
hostname
  1. Modify your SSH config file with the compute node name
Host iris-login
  User <MSKusername>
  HostName islogin01.mskcc.org

Host iris-compute
  User <MSKusername>
  HostName <node name>
  ProxyJump iris-login
  1. Connect to the compute node: F1 > Remote-SSH > Connect to host

GitHub copilot

Install GitHub copilot extension in VS Code: Extension > GitHub copilot > Install in SSH

You need to have GitHub copilot subscription or apply for GitHub Education to have free access.

ChatGPT

Install ChatGPT extension in VS Code: Extension > ChatGPT - Work with Code on macOS

Install ChatGPT desktop App

Option + Space to allow ChatGPT to access code in active editor panes.

Jupyter notebooks

Install Jupyter extension in VS Code: Extension > Jupyter > Install in SSH (need to do this for both login and compute node)

Jupyter kernel management: https://code.visualstudio.com/docs/datascience/jupyter-kernel-management

Clone this wiki locally