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

Autosave swallows inputs

Open Luux opened this issue 11 months ago • 2 comments

When editing a marimo notebook in VSCode, quite aggressive autosaving takes place. Every few keystrokes, it saves the file - even if I'm still typing. This leads to inputs being swallowed regularly. Additionally, when trying to enter a new line, it gets removed almost immediately again. If I enter multiple newlines at once, only the last one gets removed. I suspect that this is some autoformatting applied in combination with the autosave mechanism.

Luux avatar Jan 20 '25 10:01 Luux

hey @Luux - it might be a new config that was introduced. Can you check your marimo settings, and disable "Watch" (uncheck it)? Let me know if you still experience the issue

mscolnick avatar Jan 20 '25 23:01 mscolnick

I tried turning off the option, but the problem still seems to persist.

Also, sometimes it's stuck in loading the server infinitely until I change the port in the settings. EDIT: just saw that for the server not starting, there is already an issue: https://github.com/marimo-team/vscode-marimo/issues/61

Luux avatar Jan 21 '25 13:01 Luux

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