Skip to content

Commit

Permalink
eng: refine docs and tasks.json
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Zhang <[email protected]>
  • Loading branch information
Eskibear committed Nov 21, 2021
1 parent a157323 commit cd8903f
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 4,499 deletions.
4 changes: 2 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
],
"background": {
"activeOnStart": true,
"beginsPattern": "Compilation \\w+ starting…",
"endsPattern": "Compilation\\s+finished"
"beginsPattern": "\\w+",
"endsPattern": "webpack .* compiled"
}
},
"isBackground": true,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ext install vscode-spring-initializr
"spring.initializr.defaultGroupId": "com.example",
// Spring Initializr Service URL(s). If more than one url is specified, it requires you to select one every time you create a project.
"spring.initializr.serviceUrl": [ "https://start.spring.io/" ],
"spring.initializr.serviceUrl": [ "https://start.spring.io" ],
// Default value for Packaging. Supported values are "JAR" and "WAR".
"spring.initializr.defaultPackaging": "JAR",
Expand Down
4 changes: 2 additions & 2 deletions TestPlan.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ After that, verify `build.gradle` instead of `pom.xml`.

## Customized Spring Initializr Service URL
1. Open `User settings` in VS Code.
2. Change value of entry `spring.initializr.serviceUrl`, e.g. "https://start.cfapps.io/", or [run the service locally](https://github.com/spring-io/initializr#running-the-app-locally) (if the previous one doesn't work).
2. Change value of entry `spring.initializr.serviceUrl`, e.g. "https://start.cfapps.io", or [run the service locally](https://github.com/spring-io/initializr#running-the-app-locally) (if the previous one doesn't work).
3. Verify:
1. Can generate a project from the specified service URL.
4. Change value of entry `spring.initializr.serviceUrl` to an array, e.g. ["https://start.cfapps.io/", "https://start.spring.io/"]
4. Change value of entry `spring.initializr.serviceUrl` to an array, e.g. ["https://start.cfapps.io", "https://start.spring.io"]
5. Verify:
1. Before generating a project/editing starters, it requires users to select one from the list.
2. Can generate a project from the selected service URL.
Expand Down
Loading

0 comments on commit cd8903f

Please sign in to comment.