Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2512

CommandScope is not active in IntellJ IDEA

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 2.20.0.Final
    • UI - IntelliJ IDEA
    • None

      When we use @CommandScoped in addons on IntelliJ the scope is not activated throwing

      WELD-001303: No active contexts for scope type org.jboss.forge.addon.ui.cdi.CommandScoped

      A sample code is here at ¹ where *SongsFilter * is commandScoped.

      I've also tried to activate it in IDEA plugin modifying UIContextImpl² but found some issues, more details at ³ .

      [1] https://github.com/rmpestano/music-addon/issues/14
      [2] https://github.com/rmpestano/intellij-idea-plugin/commit/45757d714ecc0c0c3210153d6396ec20f4c81ead
      [3] https://github.com/rmpestano/music-addon/blob/master/src/main/java/com/github/forge/addon/music/ui/SearchCommand.java#L61

              rhn-support-ggastald George Gastaldi
              procergs-std Mauricio Wodarski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: