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.49k stars 3.02k forks source link

Rust analyzer failing #17846

Closed yesagainivan closed 1 month ago

yesagainivan commented 1 month ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Failing Rust Analyzer; no more type nor function def in editor!

When switching tabs, with each tab containing a different programming language (ex. Rust and GLSL), the rust analyzer seems to stop working.

Observed issues

Workarounds

Environment

Model Name: MacBook Air Model Identifier: Mac14,2 Model Number: MLY13LL/A Chip: Apple M2 Total Number of Cores: 8 (4 performance and 4 efficiency) Memory: 8 GB System Firmware Version: 10151.140.19 OS Loader Version: 10151.140.19

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

No response

If applicable, attach your Zed.log file to this issue.

Zed.log


alefminus commented 1 month ago

Note: I have a similar problem, restarting the language server works until it fails again (I'm using a C+Rust+Python repository, mostly switching between C and Rust).

notpeter commented 1 month ago

I think this may be a duplicate of: