Skip to content

IntelliJ Dart plugin enum helper not respects namespace #50484

@westito

Description

@westito

Add missing case clauses action not prefixes enum with import namespace when generates the missing clauses

Képernyőfotó 2022-11-16 - 8 56 23

Képernyőfotó 2022-11-16 - 8 56 31

$ dart --version
Dart SDK version: 2.18.4 (stable) (Tue Nov 1 15:15:07 2022 +0000) on "macos_arm64"
IntelliJ IDEA 2022.2.3 (Ultimate Edition)
Build #IU-222.4345.14, built on October 5, 2022
Licensed to ***
Runtime version: 17.0.4.1+7-b469.62 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Metal Rendering is ON
Registry:
    editor.focus.mode.color.light=474747
    ide.editor.tab.selection.animation=true
    ide.new.editor.tabs.vertical.borders=true
    ide.balloon.shadow.size=0
    editor.focus.mode.color.dark=474747

Non-Bundled Plugins:
    com.joutvhu.intellij.dart-scripts (1.222.0)
    org.jetbrains.kotlin (222-1.7.21-release-272-IJ4167.29)
    com.ankit.mahadik.json.dart.class (2.15)
    com.intellij.lang.jsgraphql (3.3.0)
    Dart (222.4345.14)
    com.localizely.flutter-intl (1.17.3-2020.3)
    andrasferenczi.dart-data-plugin (0.2.0)
    com.github.dinbtechit.vscodetheme (1.7.3)
    io.flutter (71.0.5)
    de.mariushoefler.flutter_enhancement_suite (1.6.0)
    com.chrisrm.idea.MaterialThemeUI (7.14.2)
    izhangzhihao.rainbow.brackets (2022.3.4-ij)
    pro.bashsupport (3.0.1.222)

Kotlin: 222-1.7.21-release-272-IJ4167.29

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-intellijTracking issues for the Dart IntelliJ plugin.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions