You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/java/data/providers/prefixsensitive/DataRepositoryMethodNameParseResult.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,9 @@ record DataRepositoryMethodNameParseResult(
33
33
*/
34
34
booleanperformFullCompletion,
35
35
/**
36
-
* the last entered word, which completion options should be used for completing the expression.
36
+
* the last entered word (if it is not a keyword), which completion options should be used for completing the expression.
37
37
*
38
-
* e.g. {@code First} in {@code findByFirst} which could be completed to {@code findByFirstName}
38
+
* e.g. {@code First} in {@code findByFirst} which could be completed to {@code findByFirstName} or {@code null} if it is a keyword or non-existent
Copy file name to clipboardExpand all lines: headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/java/data/providers/prefixsensitive/DataRepositoryMethodParser.java
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,7 @@ class DataRepositoryMethodParser {
Copy file name to clipboardExpand all lines: headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/java/data/providers/prefixsensitive/DataRepositoryPrefixSensitiveCompletionProvider.java
+44-11Lines changed: 44 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -47,23 +47,56 @@ public void addProposals(Collection<ICompletionProposal> completions, IDocument
47
47
if (parseResult.lastWord() == null || !propertiesByName.containsKey(parseResult.lastWord())) {
Copy file name to clipboardExpand all lines: headless-services/spring-boot-language-server/src/test/java/org/springframework/ide/vscode/boot/java/data/test/DataRepositoryCompletionProcessorTest.java
0 commit comments