Fallback to rename if prepareRename is not supported #16663
Labels
bug
[core label]
language server failure
Language server doesn't work as expected
language server
An umbrella label for all language servers
language
An umbrella label for all programming languages syntax behaviors
Check for existing issues
Describe the bug / provide steps to reproduce it
Even if a language server supports rename, if it doesn't support prepareRename it seems to silently fail the rename action from the user.
Expected result:
I expect it to allow me to rename the symbol like VSCode, Neovim, and numerous other text editors even if the server does not support prepareRename.
This may also be an issue if the language server doesn't support documentHighlight but I haven't done enough research to conclude this.
Environment
Zed: v0.149.3 (Zed)
OS: Linux Wayland arch unknown
Memory: 62.7 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 4070 || NVIDIA || 555.58.02
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
The text was updated successfully, but these errors were encountered: