Skip to content

cell types for new cell above/below #7547

@baikal

Description

@baikal

Describe the bug

Clicking the + creates python cell (as fixed in #7371), hovering reads "CtrlClick" for other cell types. But Ctrl-Click does not (Windows 11), after some trial and error turns out, that "WindowsKey"-Click does it. Though that opens the system-applications-menu as well.

Is that (Windows-Key instead of Ctrl-Key) on purpose or an oversight or just a documentation issue?

What other way is there to create a setup cell?
That might be a good thing to have in the button-bar below the last cell as well.
It used to be in the 3-dot-menu/context-menu (or maybe it was "convert to setup cell"). Only other way I found is in ctrl-K and typing "setup".

Will you submit a PR?

  • Yes

Environment

Details
{
  "marimo": "0.18.4",
  "editable": false,
  "location": "C:/Users/gmk/.conda/envs/vts_standard_test/Lib/site-packages/marimo",
  "OS": "Windows",
  "OS Version": "11",
  "Processor": "Intel64 Family 6 Model 166 Stepping 1, GenuineIntel",
  "Python Version": "3.14.2",
  "Locale": "de_CH",
  "Binaries": {
    "Browser": "--",
    "Node": "--"
  },
  "Dependencies": {
    "click": "8.3.1",
    "docutils": "0.22.3",
    "itsdangerous": "2.2.0",
    "jedi": "0.19.2",
    "markdown": "3.10",
    "narwhals": "2.14.0",
    "packaging": "25.0",
    "psutil": "7.1.3",
    "pygments": "2.19.2",
    "pymdown-extensions": "10.19.1",
    "pyyaml": "6.0.3",
    "starlette": "0.50.0",
    "tomlkit": "0.13.3",
    "typing-extensions": "4.15.0",
    "uvicorn": "0.38.0",
    "websockets": "15.0.1"
  },
  "Optional Dependencies": {
    "altair": "6.0.0",
    "duckdb": "1.4.3",
    "nbformat": "5.10.4",
    "openai": "2.13.0",
    "pandas": "2.3.3",
    "polars": "1.36.1",
    "pyarrow": "22.0.0",
    "ruff": "0.14.9",
    "sqlglot": "28.4.1"
  },
  "Experimental Flags": {}
}

Code to reproduce

not needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions