cursive

Rachel Westmacott 2026-02-27T09:10:40.924769Z

There's a 'Code With Me' bug in the REPL - possibly just a bad interaction between the two. If someone is following me in a Code With Me session and I visit the REPL pane, then they join me there fine. But if I have two REPLs running with the same name, then it thinks that they have followed me to both of them (which is obviously wrong) and the follow logic gets all confused and I get randomly switched from one REPL pane to the other - which is obviously bad if we're deliberately trying to maintain two separate contexts.

Rachel Westmacott 2026-02-27T09:13:41.560459Z

This feels like a straight up 'code with me' bug, but I wondered if the repl panes could avoid this madness by suffixing each pane with a number e.g. (1) , (2) , etc. to help the IDE disambiguate. It's completely coconuts that the IDE would internally identify the panes by their title instead of a unique id, but that's my guess as to what is happening.

Rachel Westmacott 2026-02-27T09:14:33.517809Z

Notably the Terminal panes do this already - if I open two then the second is called Local (2).

Rachel Westmacott 2026-02-27T09:15:05.486809Z

(Not that the terminal panes behave perfectly in a Code With Me session either, so 🤷‍♀️ )

cfleming 2026-02-27T19:21:26.478839Z

Hmm, yes I could do that. So you have two REPLs started from the same run config?

Rachel Westmacott 2026-02-27T19:24:54.629709Z

Yes.

Rachel Westmacott 2026-02-27T19:25:37.869059Z

I ended up starting one, then renaming the config and starting another to prevent the problem.