1
头图

Today, we are happy to announce to you: Language Server for Java™ 1.0 version is officially released on Visual Studio Code! This is an important milestone for Java in Visual Studio Code and the result of many years of cooperation between Microsoft, Red Hat, and the entire community. Here we would like to thank all users who have made comments or contributed, thank you!

Release highlights

When we started to release the first version, our goal was to provide the best Java development experience on Visual Studio Code. Since then, we have maintained a monthly release cycle of 1-2 times, and have gone through many iterations. In this 1.0 version, we want to highlight the following new features.

Java 17 support

We will always do our best to support the latest technology provided by the Java language. In our 1.0 version, our Java plug-in now officially provides support for Java 17.

Performance improvement

Performance improvement is another highlight of this release. Thanks LSP specification , we are able to postpone certain calculations, which will bring us better performance in many scenarios. In addition, the better default JVM option can be used to improve the user experience for larger and more complex projects. We also do a lot of a particular scene minor improvements , in order to improve the responsiveness of the language of the server.

Class inheritance system

Now users can easily access the class inheritance system in Visual Studio Code! This is a feature we recently launched and has been one of the hottest needs in the Java community.

Library source code location

Currently, we allow users to quickly locate the source code of a library, which is sometimes very useful. Now, we have extended its support to ordinary projects (that is, projects that do not use build tools). As long as the library comes from the Maven Central repo, we can resolve its source. Also supports more advanced configurations.

More code related operations

User experience is another area we continue to improve. We provide more code operations in the new version to optimize user development experience.

Gradle Kotlin (.kts) support

Although we have used Groovy scripts to support Gradle projects, we continue to hear that the community needs better Kotlin support, so in the new version we provide some basic support for Kotlin. We hope to continue to expand this field and provide a great experience for Kotlin in the future.

Visual Studio Code's Java Journey

Language Server for Java™ is the basis of the Java extension package , and provides core experiences such as Java code editing, completion, refactoring, and navigation. In the past few years, Microsoft and Red Hat have been working closely together to continuously add new features to this language server. We have also been fine-tuning the performance of the language server and improving stability by fixing bugs and adding new features.

In addition to the main Java language support, we also built various Java extensions based on the language server, and extended the Java development experience on Visual Studio Code, including project management, Maven/Gradle build tool support, and better Test support, etc. The goal behind these efforts is to provide the best Java development experience on Visual Studio Code.

Look to the future

In the future, we have many plans for Java language support on Visual Studio Code. Some of these include:

Make it easier for users to configure compiler errors/warnings and code formats
Smarter and useful code completion suggestions
Continue to provide more code-related operations and finally achieve the same functions as other Java IDEs
Further improve the overall performance and startup time of the language server
Embed Java Runtime directly in the plug-in to improve the overall hands-on experience
The 1.0 version of Language Server for Java™ is an important milestone for Java in Visual Studio Code, and we still have a long way to go. Microsoft and Red Hat will continue to cooperate and invest in Java language support, and we are committed to providing an excellent Java development experience.

As always, your feedback is vital to our product improvement, so please don't hesitate to try our products. You can click this link start learning Java with Visual Studio Code, or you can get the latest Java plug-in package this link

image.png


Here are more Microsoft official learning materials and technical documents, scan the code to get the free version!
The content will be updated from time to time!
208f6785e4bc3f899ded709a80dff426.jpg


微软技术栈
423 声望996 粉丝

微软技术生态官方平台。予力众生,成就不凡!微软致力于用技术改变世界,助力企业实现数字化转型。