You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I open a new line in vim mode using o
I hit ctrl+enter
That unfocuses the editor so it autosaves because I have "autosave": "on_focus_change" .
That triggers an autoformat with ruff.
The new line I opened is removed by the autoformatting.
The assistant now gets very confused inserting code probably because the place in the code it thinks it should insert is now incorrect.
wolffiex
changed the title
Bad interaction between autocomplete and inline assistant
Bad interaction between autoformat and inline assistant
Nov 22, 2024
Check for existing issues
Describe the bug / provide steps to reproduce it
I open a new line in vim mode using o
I hit ctrl+enter
That unfocuses the editor so it autosaves because I have "autosave": "on_focus_change" .
That triggers an autoformat with ruff.
The new line I opened is removed by the autoformatting.
The assistant now gets very confused inserting code probably because the place in the code it thinks it should insert is now incorrect.
Environment
Zed: v0.161.2 (Zed Nightly 00d96d9ea4f75afcdd5d08b08ff20f3df363676a)
OS: macOS 14.7.1
Memory: 36 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
CleanShot.2024-11-21.at.21.05.32.mp4
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: