zed
zed copied to clipboard
`Rename Symbol` not working in JSX
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
In projects using JSX/TSX (only tested React), changing a component’s identifier within the return statement of another component does not update its reference. However, renaming the component in its function definition does update the identifier correctly.
Environment
zsh: command not found: copy
If applicable, add mockups / screenshots to help explain present your vision of the bug
Any update on this?
This probably is a language server issue rather than a Zed issue. Based on https://github.com/zed-industries/zed/blob/b65dc8c5666f563057164aaf01f796eaaa43ef3e/crates/languages/src/tsx/config.toml#L17 I'm guessing it's using emmet-language-server?
@mgsloan this is still an issue (specific to using the the zed editor). If it's because of the tsx crate config then perhaps it could be remedied there.
@aretrace I see! So this works correctly in other editors that use the same language server? Curious! Re-opening.
Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 7 days. Thanks for your help!
+1
Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 7 days. Thanks for your help!
This issue was closed due to inactivity. If you're still experiencing this problem, please open a new issue with a link to this issue.