Java Extension Pack
By installing Java Extension Pack, the following extensions are installed:
- 📦 Language Support for Java™ by Red Hat ❤️
- Code Navigation
- Auto Completion
- Refactoring
- Code Snippets
- 📦 Java Dependency Viewer ❤️
- View Java projects, referenced libraries, resource files, packages, classes, and class members
- 📦 Debugger for Java ❤️
- Debugging
- 📦 Java Test Runner ❤️
- Run & Debug JUnit/TestNG Test Cases
- 📦 Maven for Java ?这个暂时感觉还没什么用,因为有了下面的📦 Spring Boot Extension Pack。
- Project Scaffolding
- Custom Goals
- 📦 Visual Studio IntelliCode ❤️
- AI-assisted development
- Completion list ranked by AI
"files.exclude": {
"/.idea",
"*.iml",
"**/target",
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
Java Formatter
"java.format.enabled": true,
"java.format.settings.url": "https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml",
"java.format.settings.profile": "GoogleStyle"
"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.
"spring.initializr.defaultLanguage": "Java",
"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.