completions for predicate keywords in Spring Data repositories#988
completions for predicate keywords in Spring Data repositories#988danthe1st wants to merge 1 commit intospring-projects:mainfrom
Conversation
|
I am unsure whether to actually use |
|
@danthe1st property completion kind for property is more appropriate. As for the query (method name) maybe text is fine... The completion kind only affects the icon description that is supposed to tell you what about to follow once completion item is applied. Since the result is just text the text completion kind seems ok to me. |
|
@BoykoAlex |
|
Merged with 2e79692 (@danthe1st hmm... the result of the completion is just text, correct? I think in this case it should just remain text) |
This PR adds completions for predicate keywords in Spring Data repositories.
For example, it would suggest a completion
findByFirstNameAndwhen typingfindByFirstName.This is a follow-up to #981.
With this PR, it should now be possible to create most Spring JPA repository methods just with Content assist proposals (and adjusting the return type if wanted).