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/Annotations.java
Copy file name to clipboardExpand all lines: headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/java/handlers/QueryCodeLensProvider.java
This is the pointcut definition referenced in the above annotation. \n\n %s \n\nProvide a brief summary of what it does, focusing on its role within the annotation.
195
+
Avoid detailed implementation steps and avoid repeating information covered earlier.
Copy file name to clipboardExpand all lines: headless-services/spring-boot-language-server/src/main/java/org/springframework/ide/vscode/boot/java/handlers/QueryType.java
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ public enum QueryType {
4
4
SPEL("Explain SpEL Expression using Copilot", "Explain the following SpEL Expression with a clear summary first, followed by a breakdown of the expression with details: \n\n"),
5
5
JPQL("Explain Query using Copilot", "Explain the following JPQL query with a clear summary first, followed by a detailed explanation. If the query contains any SpEL expressions, explain those parts as well: \n\n"),
6
6
HQL("Explain Query using Copilot", "Explain the following HQL query with a clear summary first, followed by a detailed explanation. If the query contains any SpEL expressions, explain those parts as well: \n\n"),
7
+
AOP("Explain AOP using Copilot", "Explain the following AOP annotation with a clear summary first, followed by a detailed contextual explanation of its usage and any parameters it includes: \n\n"),
7
8
DEFAULT("Explain Query using Copilot", "Explain the following query with a clear summary first, followed by a detailed explanation: \n\n");
Copy file name to clipboardExpand all lines: headless-services/spring-boot-language-server/src/test/java/org/springframework/ide/vscode/boot/java/handlers/test/QueryCodeLensProviderTest.java
+97-4Lines changed: 97 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ public class QueryCodeLensProviderTest {
Explain the following AOP annotation with a clear summary first, followed by a detailed contextual explanation of its usage and any parameters it includes: \n
Explain the following AOP annotation with a clear summary first, followed by a detailed contextual explanation of its usage and any parameters it includes: \n
This is the pointcut definition referenced in the above annotation. \n
239
+
@Pointcut("target(com.example.service.MyService)") public void targetService(){
240
+
}
241
+
\n
242
+
Provide a brief summary of what it does, focusing on its role within the annotation.
243
+
Avoid detailed implementation steps and avoid repeating information covered earlier.
244
+
""";
245
+
StringexpectedPromptWithMultiPointcutRef = """
246
+
Explain the following AOP annotation with a clear summary first, followed by a detailed contextual explanation of its usage and any parameters it includes: \n
247
+
@Pointcut("serviceLayer() || repositoryLayer()")
248
+
249
+
This is the pointcut definition referenced in the above annotation. \n
250
+
@Pointcut("within(com.example.repository..*)") public void repositoryLayer(){
251
+
}
252
+
@Pointcut("execution(* com.example.service.*.*(..))") public void serviceLayer(){
253
+
}
254
+
\n
255
+
Provide a brief summary of what it does, focusing on its role within the annotation.
256
+
Avoid detailed implementation steps and avoid repeating information covered earlier.
0 commit comments