Spring Tool Suite
  1. Spring Tool Suite
  2. STS-604

Grails Command prompt doesn't popup when no groovy file is open

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 2.2.0.RELEASE
    • Fix Version/s: 2.2.1.RELEASE
    • Component/s: None
    • Labels:
      None

      Description

      After creating a clean Grails project I wasn't able to open the Grails command prompt, so I have to generate the first domain class via my systems command prompt. Would be nice if this could be done via the STS grails command prompt

        Activity

        Hide
        Christian Dupuis added a comment -

        Hmm, this isn't straight forward to fix:

        1. The Grails Command Prompt needs some kind of scope to figure out in what project to run the command. So at least we need a selection in the Package Explorer or Project Explorer or elsewhere.
        2. Key binding CMD+G is not available when a selection is placed in the Package or Project Explorer. What would be a good alternative?

        Christian

        Show
        Christian Dupuis added a comment - Hmm, this isn't straight forward to fix: 1. The Grails Command Prompt needs some kind of scope to figure out in what project to run the command. So at least we need a selection in the Package Explorer or Project Explorer or elsewhere. 2. Key binding CMD+G is not available when a selection is placed in the Package or Project Explorer. What would be a good alternative? Christian
        Hide
        Vincent Kok added a comment -

        Hi Christian,

        On thing I could imagine is b solving this the same as roo. When I hit Ctrl+R in a roo project the roo shell will be opened.

        I know grails doesn't have a shell like roo but having the grails > texbox would be enough IMHO.

        Grtz Vincent

        Show
        Vincent Kok added a comment - Hi Christian, On thing I could imagine is b solving this the same as roo. When I hit Ctrl+R in a roo project the roo shell will be opened. I know grails doesn't have a shell like roo but having the grails > texbox would be enough IMHO. Grtz Vincent

          People

          • Assignee:
            Unassigned
            Reporter:
            Vincent Kok
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              First Response Date: