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: vscode-extensions/vscode-spring-boot/lib/copilot/system-ai-prompt.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
importCopilotRequestfrom"./copilotRequest"
2
2
3
-
exportconstsystemPrompt=`**Your task is to create Java source code for a Spring boot application. Follow these guidelines:**
3
+
exportconstsystemPrompt=`**Your task is to create Java source code for a Spring Boot application. Follow these guidelines:**
4
4
- IMPORTANT: CONCLUDE YOUR RESPONSE WITH THE MARKER \"//${CopilotRequest.DEFAULT_END_MARK}\" TO INDICATE END OF RESPONSE.
5
5
- Generate a pom.xml snippet that includes the necessary Spring Boot Starter dependencies such as "spring-boot-starter-jpa".
6
6
- Organize code into appropriate package. Use the Package name as the root package and place the files in sub-packages accordingly.
@@ -15,7 +15,7 @@ export const systemPrompt = `**Your task is to create Java source code for a Spr
15
15
- Include an integration test if there are multiple architectural layers.
16
16
`
17
17
18
-
exportconstsystemBoot3Prompt=`For Spring boot 3 and above:
18
+
exportconstsystemBoot3Prompt=`For Spring Boot 3 and above:
19
19
- IMPORTANT: For JPA related applications, the 'javax' package has been replaced with 'jakarta' package. All JPA-related imports should use 'jakarta.persistence' instead of 'javax.persistence'.
0 commit comments