Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3050 improve tooling support for Spring Data
  3. STS-3066

Code completion should generate parameters as well

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.1.0.RELEASE
    • Fix Version/s: None
    • Component/s: DATA
    • Labels:
      None

      Description

      The code completion for repository finders allows defining the method names easily. It should also generate parameters for the generated property references:

      interface UserRepository extends Repository<User, Long> {
      
        List<User> findBy…
      }
      

      Selecting e.g. the firstname property should generate:

      interface UserRepository extends Repository<User, Long> {
      
        List<User> findByFirstname(String firstname);
      }
      

        Attachments

          Activity

            People

            Assignee:
            thon Terry Denney
            Reporter:
            ogierke Oliver Gierke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: