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

Code completion for dynamic finders broken

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.9.0.RELEASE
    • Fix Version/s: 2.9.0.RELEASE
    • Component/s: GRAILS
    • Environment:

      SpringSource Tool Suite Version: 2.9.0.RELEASE Build Id: 201203011000
      Grails Version: 2.0.1 JVM: 1.6.0_26 Vendor: Sun Microsystems Inc. OS: Linux

      Description

      The code completion for dynamic finders works only up to a certain level (two levels deep for the following simple example).

      E.g. Given the a domain class (book) with 3 properties:
      String name
      String genre
      String description

      The code completion for the dynamic finders is offering support up to e.g.
      def b = Book.findByNameOrGenre

      it's not providing code completion for the a finder that continous with "Or....."

      def b = Book.findByNameOrGenreOrDescription(....

      which is perfectly valid.
      STS is even underlining the finder suggesting a false dynamic finder.

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                First Response Date: