Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
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.