Spring Initializr Java Support
Spring Initializr is a lightweight extension to quickly generate a Spring Boot project in Visual Studio Code (VS Code). It helps you to customize your projects with configurations and manage Spring Boot dependencies.
- Generate a Maven/Gradle Spring Boot project
- Customize configurations for a new project (language, Java version, group id, artifact id, boot version and dependencies)
- Search for dependencies
- Quickstart with last settings
- Edit Spring Boot dependencies of an existing Maven Spring Boot project
- VS Code (version 1.19.0 or later)
- JDK (version 1.8.0 or later)
Open VS Code and press
Ctrl + Shift + P to open command palette, select Install Extension and type
Or launch VS Code Quick Open (
Ctrl + P), paste the following command, and press enter.
ext install vscode-spring-initializr
- Launch VS Code
Ctrl + Shift + P to open command palette.
Spring Initializr to start generating a Maven or Gradle project.
- Follow the wizard.
- Right click inside the
pom.xml file and choose
Edit starters for dependency refactoring. (Gradle project is not supported yet, PR is welcome for it.)
// Default language.
// Default Java version.
// Default value for Artifact Id.
// Default value for Group Id.
// 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" ],
// Default value for Packaging. Supported values are "JAR" and "WAR".
// Default value for the method of openining the newly generated project. Supported values are "", "Open" and "Add to Workspace".
"spring.initializr.defaultOpenProjectMethod": "Add to Workspace",
Feedback and Questions
You can find the full list of issues at Issue Tracker. You can submit a bug or feature suggestion, and participate community driven
This extension is licensed under MIT License.
VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. If you don’t wish to send usage data to Microsoft, you can set the
telemetry.enableTelemetry setting to
false. Learn more in our FAQ.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact firstname.lastname@example.org with any additional questions or comments.