zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.82k stars 3.06k forks source link

Delay when searching for project symbols leads to inadvertent file edits #10683

Open anthonysapien opened 7 months ago

anthonysapien commented 7 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

After I press the key binding to search for project symbols, there's an approximately one second lag before the search dialog appears and takes the keyboard focus. By habit from using other editors where this opens quickly, I often start to type the first letters of the symbol I'm searching for, and they are entered into the file that's currently in focus. This leads to errors in the app because there are arbitrary characters misplaced in files. And my search is also hampered because the first characters of what I'm searching for are missing.

(I happen to be editing a Ruby project if that makes a difference)

This is related to #5037, but my issue isn't specific to the language server results appearing slowly. I understand that may take some time. My issue is that the dialog should open immediately, take keyboard focus and allow initial typing of the search.

Environment

Zed: v0.130.7 (Zed) OS: macOS 14.4.1 Memory: 24 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

github-actions[bot] commented 3 weeks ago

Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. Are you able to reproduce this issue in the latest version of Zed? If so, please let us know by commenting on this issue and we will keep it open; otherwise, we'll close it in 7 days. Feel free to open a new issue if you're seeing this message after the issue has been closed. Thanks for your help!