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

    • 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
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: