Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/microsoft/vscode-spring-initializr
VSCode Extension for Spring Initializr
https://github.com/microsoft/vscode-spring-initializr
gitter java-support microsoft spring-boot spring-initializr vscode-extension
Last synced: 1 day ago
JSON representation
VSCode Extension for Spring Initializr
- Host: GitHub
- URL: https://github.com/microsoft/vscode-spring-initializr
- Owner: microsoft
- License: other
- Created: 2017-12-19T06:50:18.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-11-27T03:20:54.000Z (about 1 month ago)
- Last Synced: 2025-01-06T12:18:15.293Z (3 days ago)
- Topics: gitter, java-support, microsoft, spring-boot, spring-initializr, vscode-extension
- Language: TypeScript
- Size: 3.21 MB
- Stars: 70
- Watchers: 11
- Forks: 35
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Security: SECURITY.md
Awesome Lists containing this project
README
# Spring Initializr Java Support
[![Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/vscjava.vscode-spring-initializr.svg)](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-spring-initializr)
[![Installs](https://img.shields.io/visual-studio-marketplace/i/vscjava.vscode-spring-initializr.svg)](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-spring-initializr)
[![Rating](https://img.shields.io/visual-studio-marketplace/r/vscjava.vscode-spring-initializr.svg)](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-spring-initializr)
[![Gitter](https://badges.gitter.im/DevDivSpring/Lobby.svg)](https://gitter.im/DevDivSpring/Lobby)## Overview
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.![Screenshot](images/spring-initializr-vsc.gif)
## Feature List
- 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## Requirements
- VS Code (version 1.19.0 or later)
- JDK (version 1.8.0 or later)## Install
Open VS Code and press `F1` or `Ctrl + Shift + P` to open command palette, select **Install Extension** and type `vscode-spring-initializr`.
Or launch VS Code Quick Open (`Ctrl + P`), paste the following command, and press enter.
```bash
ext install vscode-spring-initializr
```## Use
- Launch VS Code
- Press `Ctrl + Shift + P` to open command palette.
- Type `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.)## Configuration
```
// Default language.
"spring.initializr.defaultLanguage": "Java",// Default Java version.
"spring.initializr.defaultJavaVersion": "11",// Default value for Artifact Id.
"spring.initializr.defaultArtifactId": "demo",// Default value for Group Id.
"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" ],// Default value for Packaging. Supported values are "JAR" and "WAR".
"spring.initializr.defaultPackaging": "JAR",// 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](https://github.com/Microsoft/vscode-spring-initializr/issues). You can submit a [bug or feature suggestion](https://github.com/Microsoft/vscode-spring-initializr/issues/new), and participate community driven [![Gitter](https://badges.gitter.im/DevDivSpring/Lobby.svg)](https://gitter.im/DevDivSpring/Lobby?source=orgpage)## License
This extension is licensed under [MIT License](./LICENSE.txt).## Data/Telemetry
VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our [privacy statement](http://go.microsoft.com/fwlink/?LinkId=521839) 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](https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting).## Contributing
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.