Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange behaviour within renaming context #25363

Open
babyccino opened this issue Feb 21, 2025 · 0 comments
Open

Strange behaviour within renaming context #25363

babyccino opened this issue Feb 21, 2025 · 0 comments

Comments

@babyccino
Copy link
Contributor

babyccino commented Feb 21, 2025

Summary

The renaming context does not seem to work properly. I can get bindings of both renaming and !renaming to match at the same time. From the debugger it seems to be as the single line editor does not have the renaming context and this is what is causing both bindings to match?

Steps to trigger the problem:

  1. Add a binding to ctrl-c with Editor && renaming and another with Editor && !renaming
  2. Open the context debugger
  3. Rename a variable
  4. Press ctrl-c
  5. Observe that both bindings match the context

Actual Behavior:
Both bindings match

Expected Behavior:
the !renaming binding should not trigger with the renaming editor open

Image

Zed Version and System Specs

Zed: v0.175.3 (Zed Preview)
OS: macOS 15.3.1
Memory: 18 GiB
Architecture: aarch64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant