New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot rename variables that are marked as errors. #20450
Comments
Added Area-Editor label. |
Added Triaged label. |
Set owner to @scheglov. |
Example please. Added NeedsInfo label. |
Hi George, Did you have a code snippet for us to look at? |
I was able to reproduce this. It would be great if the analyzer could do some fuzzy matching and try to suggest renames of names that are misspelled. foo() {} void main() { Removed the owner. |
Is this a "Dart Editor" specific bug? Probably not our bug if it exists in IntelliJ |
Nope. Analysis server provides refactoring support for IntelliJ. |
Hm, to me renaming misspelled var doesn't seem to be reasonable. "No Navigate To Declaration => no Rename" looks logical to me. |
Agree. |
Agree; I'll close this as no action needed. If someone wants to champion some feature like this, please file a new issue with examples. |
This issue was originally filed by george.moschovitis...@gmail.com
In the current editor, for a variable is marked error (i.e. underlined with a yellow curly line), when your right click, there is no option to rename it.
The text was updated successfully, but these errors were encountered: