News

What's New for Java in Microsoft Dev Tooling

Microsoft is continuing to push its Java tooling across its properties, with two main targets being Visual Studio Code and the Azure cloud.

Despite stewarding its own popular programming languages like C# and TypeScript, the company has gone all in on Java, proclaiming that "We use more Java than one can imagine." Beyond that, the Java on Azure team spends a lot of development time on a competitor's product -- the IntelliJ IDE (or IntelliJ IDEA) from JetBrains -- as it maintains the Azure Toolkit for IntelliJ, which might be seen as a competitor to Visual Studio or VS Code.

Java is especially suited to cloud computing, and in the latest monthly update (December 2022) to Java on Azure tooling, one of the main new features is the introduction of SDK code samples for the Azure SDK Reference Book, which was unveiled earlier to help developers find relevant Azure SDKs and code samples while working in the IntelliJ IDE.

Using the Azure SDK Reference Book in Animated Action
[Click on image for larger, animated GIF view.] Using the Azure SDK Reference Book in Animated Action (source: Microsoft).

Specifically, it lets developers view the following assets for SDK libraries:

  • Indices
  • Latest versions
  • Reference docs
  • GitHub samples
  • Guidance links
  • Dependency snippets

"It will allow developers to view the relevant code samples for SDK libraries in IntelliJ IDEA, copy and paste sample code into their project directly," the team said in an announcement last week. "With this enhancement, developers can keep their minds running without jumping from different documents."

Another new feature in Java on Azure tooling is a UX improvement for Azure Functions Core Tools, which helps coders develop and test functions on a local computer from the command prompt or terminal, while also supplying commands for creating functions, connecting to Azure and deploying Azure function projects, typically used in serverless computing.

New functionality includes a smooth tools installation process for scenarios in which a functions project runs locally for the first time, so that now, installing and configuring the tools happens automatically inside IntelliJ IDEA.

The team also added support for connections to Azure Database for MySQL/PostgreSQL and Azure SQL in Data Sources and Drivers in the IDE.

Java on Visual Studio Code Update -- December 2022
Here, the team followed up on last month's update in which it was revealed that there were now 2 million Java developers on VS Code. The Java on VS Code dev team manages the Extension Pack for Java.

A major new feature in the December 2022 update is a graphical memory view in the Spring Boot Dashboard, a lightweight VS Code extension that provides an explorer in the side bar to help developers view and manage all available Spring Boot projects in a workspace.

Using Live Memory View in Animated Action
[Click on image for larger, animated GIF view.] Using Live Memory View in Animated Action (source: Microsoft).

"The memory view visualizes the memory and the garbage collection activities of a running Spring Boot application, much in the same way than the Spring Boot Dashboard already provides you with insights into running Spring Boot applications like active beans and request mappings," said the team, which listed these four graphical real-time visualizations available under the memory view:

  • Heap memory -- provides a stacked overview of the different heap areas, the total memory used and total memory size in the JVM
  • Non-heap memory -- displays a stacked overview of the different non-heap regions in JVM relative to the total memory used and total memory size
  • Gc Pauses -- depicts the frequency and duration of pause time for a GC event
  • Garbage Collection -- displays the count of the GC events in the application

Other highlights of the release include an improved error message prompt in two main scenarios: projects without build tools (unmanaged folder) and Maven projects.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events