You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Code actions menu is no available when the cursor is inside the highlighted zone #4462
Describe the bug
Noticed that the code actions menu does not appear neither on the shortcut, nor via the button.
It can only be called via the diagnostic tooltip or if the cursor in on the first line (where the method signature is):
Good catch. We show quick-fixes for the whole line of a diagnostic (for convenience), but apparently only looked at the first line (which is the one with the {) and not the whole range.
Activity
DanTup commentedon Mar 27, 2023
Good catch. We show quick-fixes for the whole line of a diagnostic (for convenience), but apparently only looked at the first line (which is the one with the
{) and not the whole range.Fix open at https://dart-review.googlesource.com/c/sdk/+/291281.
[analysis_server] Show LSP quick-fixes for multiline diagnostics on l…
DanTup commentedon Mar 27, 2023
Fixed by dart-lang/sdk@7ce6c20, ships in the SDK :-)