Fixed
Status Update
Comments
gh...@google.com <gh...@google.com> #2
This was broken by 3bca759a5ff08352de831bb1e9b61b1ec2b3362d.
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
Fix (pending) is I2c2dc7b600603ee430fd0d91b23d52ea8aa29ca9.
Description
While doing some other work in
ReplaceStringQuickFix
I was able to induce the following exception during intention preview:I think part of the problem is this line in
ReplaceStringQuickFix
:That line has the effect of changing the PsiFile back to a physical file (replacing the non-physical file synthesized by the intention preview code). The line was originally added to support applying Lint fixes to a different file than the one being edited (ag/12351963).
Probably we can disable intention preview in this case.