vscode-marimo icon indicating copy to clipboard operation
vscode-marimo copied to clipboard

GiHub Codespaces config specifics?

Open fkromer opened this issue 7 months ago • 4 comments

I've trouble to get the extension running with a devcontainer run in GitHub Codespaces. Do I have to consider something special in this setup?

fkromer avatar May 19 '25 15:05 fkromer

You will at least need Python and marimo installed

mscolnick avatar May 19 '25 17:05 mscolnick

I'm using this devcontainer.json. ATM the marimo server is started on localhost port 3013. I changed marimo.port from 2818 to 3013 cause it was ignored when I tried to edit a notebook via the vscode extension tree view. When I run uv run marimo edit the server is started on localhost:2718.

fkromer avatar May 19 '25 21:05 fkromer

Anything in the diagnostics or marimo log?

mscolnick avatar May 19 '25 21:05 mscolnick

pyproject.toml cannot be read and port 3015 is used to start the server ("marimo.port": 3013 in .devcontainer/devcontainer.json is ignored. "marimo.marimoPath": "uv run marimo" ignored as well?) .

devcontainer@codespaces-f1a7e1:/workspaces/marimo-uv-starter-template$ source /workspaces/marimo-uv-starter-template/.venv/bin/activate
(marimo-template) devcontainer@codespaces-f1a7e1:/workspaces/marimo-uv-starter-template$ /workspaces/marimo-uv-starter-template/.venv/bin/python -m marimo --yes edit /workspaces/marimo-uv-starter-template --host=localhost --port=3015 --headless --no-token --watch
[W 250520 06:15:29 inline_script_metadata:107] Failed to read pyproject.toml from /workspaces/marimo-uv-starter-template

        Create or edit notebooks in your browser 📝

        ➜  URL: http://localhost:3015

fkromer avatar May 20 '25 06:05 fkromer

Hi, we've launched a new VSCode extension at https://github.com/marimo-team/marimo-lsp (readme). It may mean this issue is resolved or no longer applicable. If the issue still exists, please file the issue on over on the new Issues page.

mscolnick avatar Nov 05 '25 18:11 mscolnick