Closed ghost closed 2 years ago
I couldn't reproduce this due to another issue (https://github.com/intellij-rust/intellij-rust/issues/7655) but I'm adding a possible fix in the next release. Please let me know if it fixes the issue for you.
Edit: Released v0.2.7, re-open if it isn't fixed.
If you have something in your lalrpop grammar file at the top like:
And in your
parser::ast
module you right clickSomeAst
and chooseRefactor
>Rename...
toAnotherAst
you then get invalid syntax:Simple to manually correct, but appears to be a consistent issue so thought I'd report it in case it's easy to resolve!
Plugin version:
0.2.6
IntelliJ version:2021.2.1
(Build:#IC-212.5080.55
)