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 Improvement
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • 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

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Andrew Eisenberg (c)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: