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

[gsps] Type inferencing for variables defined using the g:def and g:set tags in gsps

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.6.0.M1
    • Fix Version/s: None
    • Component/s: GRAILS
    • Labels:

      Description

      In STS-1491, we introduced content assist for variables defined using the g:def gsp tag. However, the variable type is not currently inferred from the value attribute of the tag.

      For example:

      <g:def var="var" value="${albumList}" />

      We should be able to tell that

      {var}

      be the same type as

      {albumList}

      is, which presumably is of type

      {List<Album>}

      .

        Issue Links

          Activity

          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:
              aeisenberg Andrew Eisenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: