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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.1.0.RELEASE
    • None
    • DATA
    • 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

            thon Terry Denney
            ogierke Oliver Gierke
            Archiver:
            tmarshall Trevor Marshall

            Dates

              Created:
              Updated:
              Resolved:
              Archived: