VSCode Extension for Spring Initializr
Перейти к файлу
Yan Zhang ac80065de3 update azp configs 2023-01-09 11:32:20 +08:00
.azure-pipelines update azp configs 2023-01-09 11:32:20 +08:00
.github change vsce to @vscode/vsce 2023-01-09 11:02:51 +08:00
.vscode eng: refine docs and tasks.json 2021-11-21 13:44:03 +08:00
images Update GIF and README.md for new features (#76) 2018-09-14 14:22:44 +08:00
resources update extension icon (#48) 2018-02-09 11:36:00 +08:00
scripts prepare for pre-release channel (#200) 2022-03-24 16:06:24 +08:00
src fix wrong javaVersion in download url (#225) 2022-12-22 14:42:31 +08:00
.gitignore chore: Initialize CI pipelines (#205) 2022-07-07 11:03:42 +08:00
.vscodeignore update third party notices (#190) 2021-10-20 10:07:21 +08:00
CHANGELOG.md up version to 0.11.1 (#220) 2022-11-03 15:58:30 +08:00
LICENSE.txt OSS review (#10) 2018-01-09 15:35:54 +08:00
README.md use badges from shields.io 2022-12-23 12:41:38 +08:00
SECURITY.md Microsoft mandatory file (#203) 2022-05-23 10:04:22 +08:00
TestPlan.md eng: refine docs and tasks.json 2021-11-21 13:44:03 +08:00
ThirdPartyNotices.txt upversion to 0.8.0 (#195) 2021-11-22 14:26:37 +08:00
package-lock.json Bump json5 and ts-loader (#226) 2023-01-03 12:49:27 +08:00
package.json Bump json5 and ts-loader (#226) 2023-01-03 12:49:27 +08:00
tsconfig.json allow to select bootVersion and custom service url (#31) 2018-01-29 11:24:51 +08:00
tslint.json Change "Edit Starters" to "Add Starters" (#149) 2020-08-17 16:39:44 +08:00
webpack.config.js fix webpack warning (#139) 2020-07-06 10:44:21 +08:00

README.md

Spring Initializr Java Support

Marketplace Version Installs Rating Gitter

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

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.

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. You can submit a bug or feature suggestion, and participate community driven Gitter

License

This extension is licensed under MIT License.

Data/Telemetry

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 dont wish to send usage data to Microsoft, you can set the telemetry.enableTelemetry setting to false. Learn more in our FAQ.

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.