GRECLIPSE
  1. GRECLIPSE
  2. GRECLIPSE-1267

Content assist for implicit owner and delegate properties inside closure

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.2.Release
    • Fix Version/s: 2.6.0.Release
    • Component/s: Content Assist
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The following should support content assist in the editor:

      def c = {
          owner // content assist for implicit owner property
          delegate // content assist for implicit delegate property
      }
      

        Activity

        Hide
        Andrew Eisenberg added a comment -

        Should be simple enough to fix.

        Show
        Andrew Eisenberg added a comment - Should be simple enough to fix.
        Hide
        Andrew Eisenberg added a comment -

        Committed fix with regression tests.

        Show
        Andrew Eisenberg added a comment - Committed fix with regression tests.
        Hide
        Bob Tiernay added a comment -

        Great work Andrew! Thanks for this

        Some other, less often used, but still useful Closure properties are demonstrated below:

        def f = { int x -> println thisObject; println resolveStrategy; println directive; println parameterTypes; println maximumNumberOfParameters}
        

        It would be nice if these were available, but they aren't as useful as delegate and owner

        Show
        Bob Tiernay added a comment - Great work Andrew! Thanks for this Some other, less often used, but still useful Closure properties are demonstrated below: def f = { int x -> println thisObject; println resolveStrategy; println directive; println parameterTypes; println maximumNumberOfParameters} It would be nice if these were available, but they aren't as useful as delegate and owner

          People

          • Assignee:
            Andrew Eisenberg
            Reporter:
            Bob Tiernay
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: