Missing quick fix for omit_obvious_property_types
in Dart Analysis view in IntelliJ
#57017
Labels
area-intellij
Tracking issues for the Dart IntelliJ plugin.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
This line triggers the
omit_obvious_property_types
lint:When using right click in the Analysis View in IntelliJ, there is no quick fix shown:
Pressing Alt+Enter directly on the type annotation where the lint occurs shows a quick fix:
If it's declared as a local variable (
omit_obvious_local_variable_types
), the quick fix is shown in the Analysis View:Additionally Alt+Enter has the yellow light bulb for quick fixes:
One obvious difference between both lints is that one
hasFix
, while the otherneedsEvaluation
(if this matters):sdk/pkg/analysis_server/lib/src/services/correction/error_fix_status.yaml
Lines 2199 to 2202 in 5b6e686
Dart version: Dart SDK version: 3.7.0-81.0.dev (dev) (Tue Oct 29 17:06:42 2024 -0700) on "windows_x64"
The text was updated successfully, but these errors were encountered: