Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3919

Add support for hasMany fields in Project Explorer's Domain hierarchy

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.6.1.RELEASE
    • Fix Version/s: None
    • Component/s: GRAILS
    • Labels:
      None

      Description

      The project explorer hierarchy currently does not display the fields used in a hasMany declaration. This means that when I'm writing code, I have to stop what I'm doing, open the domain object, and look at its hasMany declaration in order to determine what the variable name is.

      It would also be good if the code lookup display actually showed you the variable names found in hasMany declarations.

        Activity

        Hide
        mfortner Mark Fortner added a comment -

        There are actually two requests here:
        (1) Have code assist display hasMany variable declarations. For example if the Article domain object has a hasMany declaration of:

        static hasMany = [authors:Author]

        then code assist should display authors as a member of Article.

        (2) Make the tree node for the hasMany object expandable, so that all members of the hasMany declaration can be seen without having to open the class.

        Show
        mfortner Mark Fortner added a comment - There are actually two requests here: (1) Have code assist display hasMany variable declarations. For example if the Article domain object has a hasMany declaration of: static hasMany = [authors:Author] then code assist should display authors as a member of Article . (2) Make the tree node for the hasMany object expandable, so that all members of the hasMany declaration can be seen without having to open the class.
        Hide
        mlippert Martin Lippert added a comment -

        We no longer work on the Grails integration for Eclipse, therefore I am closing all the remaining open issues here.
        The code of the project is still available as open-source at GitHub: https://github.com/spring-projects/grails-ide

        Show
        mlippert Martin Lippert added a comment - We no longer work on the Grails integration for Eclipse, therefore I am closing all the remaining open issues here. The code of the project is still available as open-source at GitHub: https://github.com/spring-projects/grails-ide

          People

          • Assignee:
            Unassigned
            Reporter:
            mfortner Mark Fortner
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: