VSCode¶
If you prefer working in Visual Studio Code over the JupyterHub web interface, there are two ways to get there. Pick the one that fits how you want to work:
-
In your browser (easiest)
Click the VSCode button in the JupyterLab Launcher. VSCode opens in a new browser tab, running right inside your notebook pod. No installation or setup required.
-
VSCode Desktop (power users)
Connect the VSCode desktop app on your own machine to a pod on FLAME. More setup, but you get full CLI access from your workstation and your local VSCode configuration, keybindings, and extensions.
Both options give you the same files and the same pod — the only difference is whether VSCode runs in your browser or as the desktop app on your machine.
VSCode in your browser¶
This is the quickest way to get a VSCode environment on FLAME.
- Start a JupyterHub session as normal (see JupyterHub) and wait for JupyterLab to open.
- In the Launcher tab, click the VSCode button.
- VSCode opens in a new browser tab, already attached to your notebook pod. You can open terminals, edit files, and run code right away.
Tip
If you don't see the Launcher with the VSCode button in JupyterHub, open a new one with File > New Launcher, or by clicking the "+" button next to the tabs at the top of the screen.
VSCode Desktop¶
This connects the VSCode desktop app on your workstation to your JupyterHub server on FLAME. VSCode runs locally, but the terminal, file browser, and code execution all happen inside your server — with your local VSCode configuration, keybindings, and extensions.
It uses VSCode's standard
Remote-SSH
extension, so if you've ever used VSCode against a remote machine, this is
the same thing with flame as the host.
Prerequisites
You need SSH access set up: ssh flame should
work from a terminal before you continue.
Connect¶
- Install the Remote-SSH extension (click the link above and Install).
- Open the command palette (Cmd+Shift+P / Ctrl+Shift+P), run
Remote-SSH: Connect to Host…, and pick flame. It should be listed
automatically — VSCode reads the same
~/.ssh/configthatstep ssh configwrote. - When the window connects, File > Open Folder and choose
/home/ubuntu(your files) or/workspace(shared workspace storage).
If your server isn't running, connecting starts it, so the first connection can take a minute or two. After that, reconnecting is instant.