Skip to content
| Marketplace
Sign in
Visual Studio Code>Extension Packs>WU7 Java Spring Boot Pack (Dev)New to Visual Studio Code? Get it now.
WU7 Java Spring Boot Pack (Dev)

WU7 Java Spring Boot Pack (Dev)

wu7

|
5 installs
| (0) | Free
Spring Boot + Maven Java 后端开发扩展包,适用于 JDK 8-21、MySQL/PostgreSQL 等常见企业项目
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

WU7 Java Spring Boot Extension Pack (Dev)

中文 | English

中文说明

Spring Boot + Maven Java 后端开发扩展包,一键安装常用核心工具,适用于 JDK 8-21,以及 MySQL、PostgreSQL 等常见企业项目。

📦 包含的扩展 (10个)

☕ Java 核心工具 (5个)

1. Language Support for Java by Red Hat (redhat.java)

  • Java 语言核心支持
  • 提供代码补全、跳转、重构、错误检查和格式化
  • 适用于 JDK 8 到 JDK 21 及以上的常见项目

2. Debugger for Java (vscjava.vscode-java-debug)

  • Java 调试工具
  • 支持断点、变量查看、条件断点和表达式求值
  • 适合排查 Spring Boot 接口和业务逻辑问题

3. Test Runner for Java (vscjava.vscode-java-test)

  • Java 测试运行与调试工具
  • 支持 JUnit 和 TestNG
  • 方便直接在编辑器里执行和定位测试问题

4. Maven for Java (vscjava.vscode-maven)

  • Maven 项目支持工具
  • 提供 pom.xml 辅助、依赖管理和 Maven 任务执行
  • 适合绝大多数 Spring Boot Maven 项目

5. Project Manager for Java (vscjava.vscode-java-dependency)

  • Java 项目结构管理工具
  • 查看包结构、依赖、JAR 和项目层级更方便
  • 适合多模块或依赖较多的后端项目

🌱 Spring Boot 后端工具 (3个)

6. Spring Boot Tools (vmware.vscode-spring-boot)

  • Spring Boot 开发增强工具
  • 提供配置文件提示、Spring Bean 导航和常用开发辅助
  • 适合日常接口、配置和服务开发

7. Spring Boot Dashboard (vscjava.vscode-spring-boot-dashboard)

  • Spring Boot 应用管理面板
  • 可以查看、启动、停止和调试当前工作区中的 Boot 应用
  • 适合本地联调多个服务时使用

8. Spring Initializr Java Support (vscjava.vscode-spring-initializr)

  • Spring Boot 项目创建工具
  • 用于快速生成新的 Spring Boot 工程骨架
  • 适合新服务初始化或快速试验新模块

✨ 质量与配置工具 (2个)

9. SonarQube for IDE (SonarSource.sonarlint-vscode)

  • 代码质量检查工具
  • 提示潜在 bug、坏味道和部分安全问题
  • 适合提升后端代码质量

10. YAML (redhat.vscode-yaml)

  • YAML 文件支持工具
  • 提供 application.yml、bootstrap.yml、k8s yaml 等文件的校验、补全和格式化
  • 很适合 Spring Boot 和部署配置场景

🚀 安装方式

方式 1: VSCode Marketplace 安装

  1. 打开 VSCode
  2. 按 Ctrl+Shift+X 打开扩展面板
  3. 搜索 "WU7 Java Spring Boot Extension Pack"
  4. 点击安装

方式 2: 命令行安装

code --install-extension wu7.wu7-java-pack

方式 3: 本地安装 .vsix 文件

code --install-extension wu7-java-pack-1.0.0.vsix

🎯 适用场景

✅ 适用项目

  • Spring Boot 单体或微服务项目
  • Maven 构建的 Java 后端项目
  • JDK 8 / 11 / 17 / 21 常见版本项目
  • MySQL 项目
  • PostgreSQL 项目
  • 使用 application.yml / application.properties 的配置型项目

💡 设计理念

  1. 聚焦后端: 只收录 Java Spring Boot 后端开发高频工具
  2. 覆盖主流: 兼容 JDK 8-21、MySQL、PostgreSQL 等常见企业环境
  3. 开箱即用: 安装后即可开始编码、调试、测试和构建
  4. 避免过载: 不塞入过多低频或偏个人偏好的插件

⚙️ 推荐配置

安装完成后,建议在 settings.json 中添加以下配置:

{
  "java.configuration.updateBuildConfiguration": "interactive",
  "java.compile.nullAnalysis.mode": "automatic",
  "java.test.config": {
    "workingDirectory": "${workspaceFolder}"
  },
  "spring-boot.ls.problem.application-properties.enabled": true,
  "yaml.format.enable": true,
  "editor.formatOnSave": true
}

🔧 可选插件说明

以下插件可以按团队需要额外安装,但不建议默认放入 extensionPack:

  • Docker 支持: ms-azuretools.vscode-docker

    • 更适合作为通用开发工具统一放在 Universal Pack 中
    • 如果团队项目普遍需要容器化,也可以手动单独安装
  • Gradle 支持: vscjava.vscode-gradle

    • 如果团队大量使用 Gradle,可以额外加入
    • 如果主流是 Maven,不建议默认安装
  • Checkstyle: shengchen.vscode-checkstyle

    • 如果团队有严格的 Java 规范校验,可以额外加入
    • 如果没有统一规则文件,默认安装价值不高
  • 数据库客户端工具: 如 mtxr.sqltools 及数据库驱动

    • 适合本地查库、执行 SQL
    • 但它们属于数据库工具,不是 Java 后端开发的绝对必需项

关于“可选插件默认禁用”

VS Code 的 extensionPack 机制是“列入即安装”,不能在插件包里把某些扩展设置为默认禁用。

如果你想保留“可选项”思路,通常有 3 种做法:

  1. 不放进 extensionPack,只在 README 中列为可选插件
  2. 拆成两个插件包,比如基础版和增强版
  3. 全部放进去,但让用户安装后手动禁用不需要的扩展

对于你这个仓库,更推荐第 1 种:

  • 核心插件放进 extensionPack
  • 可选插件写在 README 的“可选插件说明”里

📚 相关资源

  • Spring Boot 官方文档
  • Spring Initializr
  • Maven 官方文档
  • VS Code Java 文档

📄 许可证

MIT


English

A Spring Boot + Maven Java backend extension pack with one-click installation of common core tools, suitable for JDK 8-21 and common enterprise projects using MySQL or PostgreSQL.

📦 Included Extensions (10)

☕ Java Core Tools (5)

1. Language Support for Java by Red Hat (redhat.java)

  • Core Java language support
  • Provides completion, navigation, refactoring, diagnostics, and formatting
  • Suitable for common projects from JDK 8 to JDK 21+

2. Debugger for Java (vscjava.vscode-java-debug)

  • Java debugging support
  • Supports breakpoints, variables, conditional breakpoints, and expression evaluation
  • Useful for troubleshooting Spring Boot APIs and business logic

3. Test Runner for Java (vscjava.vscode-java-test)

  • Run and debug Java tests
  • Supports JUnit and TestNG
  • Makes it easy to execute and inspect tests directly in the editor

4. Maven for Java (vscjava.vscode-maven)

  • Maven project support
  • Helps with pom.xml, dependency management, and Maven task execution
  • Fits most Spring Boot Maven projects

5. Project Manager for Java (vscjava.vscode-java-dependency)

  • Java project structure management
  • Makes packages, dependencies, JARs, and project hierarchy easier to inspect
  • Useful for larger backend projects and multi-module projects

🌱 Spring Boot Backend Tools (3)

6. Spring Boot Tools (vmware.vscode-spring-boot)

  • Spring Boot development enhancements
  • Provides configuration hints, Spring bean navigation, and common development assistance
  • Helpful for daily API, configuration, and service development

7. Spring Boot Dashboard (vscjava.vscode-spring-boot-dashboard)

  • Spring Boot application dashboard
  • Lets you view, start, stop, and debug Boot applications in the workspace
  • Useful when working with multiple local services

8. Spring Initializr Java Support (vscjava.vscode-spring-initializr)

  • Spring Boot project scaffolding tool
  • Quickly generates a new Spring Boot project structure
  • Good for bootstrapping new services or trying new modules

✨ Quality and Configuration Tools (2)

9. SonarQube for IDE (SonarSource.sonarlint-vscode)

  • Code quality inspection tool
  • Highlights potential bugs, code smells, and some security issues
  • Useful for improving backend code quality

10. YAML (redhat.vscode-yaml)

  • YAML file support
  • Provides validation, completion, and formatting for application.yml, bootstrap.yml, k8s yaml, and more
  • A great fit for Spring Boot and deployment configuration files

🚀 Installation

Method 1: VS Code Marketplace

  1. Open VS Code
  2. Press Ctrl+Shift+X to open Extensions
  3. Search for "WU7 Java Spring Boot Extension Pack"
  4. Click Install

Method 2: Command Line

code --install-extension wu7.wu7-java-pack

Method 3: Install Local VSIX

code --install-extension wu7-java-pack-1.0.0.vsix

🎯 Use Cases

✅ Suitable Projects

  • Spring Boot monoliths or microservices
  • Maven-based Java backend projects
  • Common JDK 8 / 11 / 17 / 21 projects
  • MySQL projects
  • PostgreSQL projects
  • Projects using application.yml / application.properties

💡 Design Goals

  1. Backend-focused: includes only high-frequency tools for Java Spring Boot backend development
  2. Covers mainstream stacks: compatible with JDK 8-21, MySQL, PostgreSQL, and common enterprise setups
  3. Ready to use: start coding, debugging, testing, and building right after installation
  4. Avoids overload: no unnecessary low-frequency or strongly opinionated tools by default

⚙️ Recommended Settings

Add the following to settings.json after installation:

{
  "java.configuration.updateBuildConfiguration": "interactive",
  "java.compile.nullAnalysis.mode": "automatic",
  "java.test.config": {
    "workingDirectory": "${workspaceFolder}"
  },
  "spring-boot.ls.problem.application-properties.enabled": true,
  "yaml.format.enable": true,
  "editor.formatOnSave": true
}

🔧 Optional Extensions

The following extensions can be installed as needed, but are not recommended as default extensionPack entries:

  • Docker support: ms-azuretools.vscode-docker

    • Better placed in the Universal Pack as a shared development tool
    • Can still be installed manually for teams that commonly use containers
  • Gradle support: vscjava.vscode-gradle

    • Useful if your team uses Gradle heavily
    • Not recommended by default if Maven is the main build tool
  • Checkstyle: shengchen.vscode-checkstyle

    • Useful if your team enforces strict Java style rules
    • Less valuable by default without a shared ruleset
  • Database client tools: such as mtxr.sqltools and database drivers

    • Useful for querying databases and running SQL locally
    • Not strictly required for Java backend development itself

About “included but disabled by default”

The VS Code extensionPack mechanism installs anything listed in it, so extensions cannot be included but disabled by default.

If you want optional items, there are usually three approaches:

  1. Do not include them in extensionPack, and list them only in the README
  2. Split them into separate packs, such as a base edition and an enhanced edition
  3. Include everything, then let users disable unwanted extensions manually

For this repository, option 1 is the recommended approach:

  • Keep core extensions in extensionPack
  • List optional extensions in the README

📚 Resources

  • Spring Boot Documentation
  • Spring Initializr
  • Maven Documentation
  • VS Code Java Docs

📄 License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft