Java Extension Pack

By installing Java Extension Pack, the following extensions are installed:

  1. "files.exclude": {
  2. "/.idea",
  3. "*.iml",
  4. "**/target",
  5. "**/.classpath": true,
  6. "**/.project": true,
  7. "**/.settings": true,
  8. "**/.factorypath": true
  9. },

Java Formatter

  1. "java.format.enabled": true,
  2. "java.format.settings.url": "https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml",
  3. "java.format.settings.profile": "GoogleStyle"
  4. "java.saveActions.organizeImports": true,

框架工具

Spring

Spring Tools 4 (ST4) is also available in Visual Studio Code. It understands Spring so you can navigate Spring code at the level of beans, routes, etc. It can also show live information of the running Spring Boot applications. Check out the ST4 website to see a complete list of its features.
To use ST4, install 📦 Spring Boot Extension Pack. Please also check out the User Guide to make the most of it.

  1. "spring.initializr.defaultLanguage": "Java",
  2. "spring.initializr.defaultGroupId": "com.hello",

Quarkus

📦 Quarkus Tools for Visual Studio Code is a feature-packed extension tailored for Quarkus application development within Visual Studio Code. You can quickly get started by using the extension’s project generation and project debugging feature. The extension also provides amazing language features (completion, hover, validation etc.) for your project’s application.properties file.

Containers and Microservices

You can use 📦 Docker extension to build docker images and work with image registries.
📦 Kubernetes extension provides an explorer view to manage clusters and the nodes inside. It also provides advanced syntax support for editing Kubernetes manifest files.