[Feature] New Spring Boot project wizard (Spring Initializr / start.spring.io) / 新建 Spring Boot 项目向导(Spring Initializr)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- java, spring-boot, typescript
- Domain
- developer-experience, tooling
Research direction
Start by locating the Welcome screen and File → New entry points, then read how Lithe creates and opens projects and imports Maven or Gradle workspaces. The issue calls for Spring Initializr metadata loading, a settings and dependency picker, archive download and extraction, and a configurable server URL. Done means a generated project opens in Lithe and its build import and run configuration detection begin automatically.
Written by the indexing model from the issue text.
Description
Problem to solve / 要解决的问题
There is currently no way to create a new Spring Boot project from within Lithe. To start a new project I have to leave the IDE, generate it on https://start.spring.io/ (or with another tool), download and unzip the archive, and then open the folder in Lithe. For an IDE focused on Java / Maven / Spring Boot development, this breaks the very first step of the workflow.
目前无法在 Lithe 中直接新建 Spring Boot 项目。要开始一个新项目,必须先离开 IDE,到 https://start.spring.io/ (或其他工具)生成项目,下载并解压压缩包,然后再用 Lithe 打开该文件夹。对于一个以 Java / Maven / Spring Boot 开发为重点的 IDE 来说,这打断了工作流的第一步。
Proposed solution / 建议方案
I would like Lithe to offer a "New Project → Spring Boot" wizard, similar to IntelliJ IDEA's Spring Initializr integration, backed by the Spring Initializr API (https://start.spring.io/, with a configurable server URL for self-hosted Initializr instances):
- Project settings: name, location, build tool (Maven / Gradle - Groovy / Gradle - Kotlin), language (Java / Kotlin / Groovy), group, artifact, package name, packaging (Jar / War), Java version, and Spring Boot version, with the option lists loaded from the Initializr metadata endpoint.
- Dependency picker: searchable list of starters grouped by category (Web, SQL, Security, …), as provided by the Initializr metadata.
- Generate: download the project archive, extract it to the chosen location, and open it in Lithe, so the Maven/Gradle import and run configuration detection start automatically.
Entry points could be the Welcome screen ("New") and File → New.
我希望 Lithe 提供「新建项目 → Spring Boot」向导,类似 IntelliJ IDEA 的 Spring Initializr 集成,基于 Spring Initializr API(默认 https://start.spring.io/,并支持配置自建 Initializr 服务地址):
- 项目设置:名称、位置、构建工具(Maven / Gradle - Groovy / Gradle - Kotlin)、语言(Java / Kotlin / Groovy)、Group、Artifact、包名、打包方式(Jar / War)、Java 版本、Spring Boot 版本,选项列表从 Initializr 元数据接口加载。
- 依赖选择:按分类(Web、SQL、Security 等)展示、可搜索的 Starter 列表,数据来自 Initializr 元数据。
- 生成:下载项目压缩包,解压到所选位置并在 Lithe 中打开,自动开始 Maven/Gradle 导入和运行配置识别。
入口可以放在欢迎页(「新建」)和「文件 → 新建」中。
Target platform / 目标平台
Cross-platform / 跨平台
Area / 模块
Project and workspace / 项目与工作区
Priority / 优先级
P2 / 后续考虑:目前不着急,可安排到后续版本
Alternatives considered / 已考虑的替代方案
- Generating the project on https://start.spring.io/ in a browser, then downloading, unzipping, and opening it manually. / 在浏览器中通过 https://start.spring.io/ 生成,再手动下载、解压并打开。
- Using the Spring Boot CLI (
spring init) orcurl https://start.spring.io/starter.zip ...in the terminal. This works, but you need to know the parameters and dependency IDs. / 在终端使用 Spring Boot CLI(spring init)或curl https://start.spring.io/starter.zip ...,可行但需要记住参数和依赖 ID。 - IntelliJ IDEA (New Project → Spring Boot) and VS Code (Spring Initializr Java Support extension) both offer this inside the editor. / IntelliJ IDEA(New Project → Spring Boot)和 VS Code(Spring Initializr Java Support 扩展)都在编辑器内提供该功能。
Additional context / 补充信息
- Lithe 0.6.2, Windows.
- Spring Initializr API / metadata: https://github.com/spring-io/initializr (metadata at
GET https://start.spring.iowithAccept: application/vnd.initializr.v2.2+json; project archive via/starter.zip).
Checklist / 提交前检查
- I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复建议。
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 151
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 310
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from 1lck/Lithe-IDEA
-
area:editor bug P0 platform:macos review: low
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
1lck/Lithe-IDEA#1118 · 2 comments ·
Maintainers usually reply within 1 day
-
[Bug] 进程结束的显示逻辑不够合理Openarea:editor bug issue-form:bug P0 platform:macos review: medium
Difficulty 4/5 3-5 days Newbie friendliness 42/100
1lck/Lithe-IDEA#1344 ·
Maintainers usually reply within 1 day
-
[Bug] git显示问题Openarea:editor bug issue-form:bug P0 platform:macos review: medium
Difficulty 4/5 3-5 days Newbie friendliness 25/100
1lck/Lithe-IDEA#1342 ·
Maintainers usually reply within 1 day
-
[Bug] Agent面板继续优化Possibly taken @xiaoyumuxi claimed this 2 days ago. Openarea:editor bug issue-form:bug P0 platform:macos review: medium
1lck/Lithe-IDEA#1315 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
[Bug][Windows/macOS] 从 origin/main 新建功能分支后,推送可能直接更新远端 mainPossibly taken @milestone-17 claimed this 2 days ago. Openbug claimed review: medium
1lck/Lithe-IDEA#1272 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
[测试] 等待仓库加载后再记录多仓库排序基线Possibly taken @myot233 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
area:arcade p3-medium ready-for-agent testing type:docs
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
fderuiter/deruiter.dev#2369 ·
Maintainers usually reply within 1 day
-
area:devenv origin:agent type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
overengineeringstudio/effect-utils#1949 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ccch1mneyyy/dsh-TUI#1631 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MiniMax-AI/minimax-code#507 ·
Maintainers usually reply within 1 day