Closed marvinhagemeister closed 5 months ago
Does that work in an editor if you try to rename? The rename function is just calling the language server. You might need to use setText
instead (or it's called something like that, just on my phone) which will work directly on the ast.
Sweet, can confirm that using .replaceWithText()
works!
Describe the bug
Renaming the right-hand side of a member expression doesn't seem to work. Calling
.rename()
on an identifier seems to do nothing.Version: 22.0.0
To Reproduce
Expected behavior
The
renderNotFound
identifier should have been renamed toasdf
. This would be the expected output: