Microsoft: This new update makes VS Code friendlier for Java programming language jobs

Microsoft updates Java extensions for Visual Studio Code to make life easier for Java developers.
Written by Liam Tung, Contributing Writer

Java is one of the most important languages for Visual Studio Code (VS Code), and Microsoft's latest update to its open-source cross-platform editor are designed to "make the product friendlier" to the estimated eight million developers who build software with Java

The update to Java on VS Code comes by way of several updated Java extensions that Microsoft has collated to support Java developers who want to use VS Code.  

To help Java developers set up on VS Code, Microsoft offers a Java Extension Pack, which contains Red Hat's Language Support for Java extension, a Debugger for Java, Java Test Runner, Maven for Java, Java Dependence View, and Microsoft's AI-powered auto-complete tool, Visual Studio IntelliCode.

SEE: Top IT certifications to increase your salary (free PDF)

The latest set of updates help developers immediately see what Java language level they're using on VS Code's status bar, so they no longer need to open a project file to find it.

Clicking the language level on the editor's status bar takes the user to the 'java.configuration.runtimes' setting, where they can configure the Java SE Development Kit (JDK). The enhancement requires the latest version of Red Hat's Language Support for Java extension and the active editor tab set to a .java file. 

The update builds on Microsoft's Java on VS Code updates from March, which weeded out unhelpful warnings and introduced support for the the SonarLint extension that helps Java developers detect code quality and security issues on the fly.   

VS Code now offers developers an option to automatically refactor packages when renaming a folder. Users will see a prompt the first time they use it that asks them to confirm whether to always automatically refactor packages or always preview before applying it.

And the Java Debugger extension now allows users to attach the debugger by process ID, which again requires the latest version of the extension and also requires users to configure it with the 'java: Attach to Process' option. 

SEE: Python programming language: Now you can take NSA's free course for beginners

Other notable improvements include a Command 'Create Java Project' that lets users choose to create a Java project with Maven support if the Maven extension is installed, or a project without any build tools.

There's also a new command of 'Import Java projects in workspace' that can be used to add a module into an opened project without restarting the window.

Developers can now immediately see what Java language level they're using on VS Code's status bar.  

Image: Microsoft

More on Microsoft's Visual Studio Code

  • Programming language Python VS Code extension: New update has critical security fix
  • Microsoft's VS Code 1.45 is out: GitHub integration plus JavaScript debugger update
  • Microsoft: Bosque is a new programming language built for AI in the cloud  
  • Microsoft's VS Code Python programming language extension gets this new update  
  • Microsoft: Try VS Code's new Python, C++ programming language tutorials, Docker updates  
  • Microsoft makes new GitHub collaboration tools available to testers  
  • Programming languages: Python and Java VS Code extensions get these new updates  
  • VS Code gets a big update: Plays nice with macOS Gatekeeper plus lots of new features  
  • Microsoft: VS Code for PowerShell 7 arrives with ISE mode  
  • New Microsoft VS Code browser editor update – better Go, Python language, Docker support  
  • Microsoft's VS Code Python programming language extension gets this new update  
  • Microsoft VS Code 1.42 is out: New debug tools for TypeScript, JavaScript, Chrome  
  • ServiceNow reveals VS Code alternative to its own web-based code editor  
  • Microsoft boosts programming language Python's popular VS Code extension  
  • Programming language Python's popular extension for Visual Studio Code revamped  
  • Facebook: Microsoft's Visual Studio Code is now our default development platform
  • JPMorgan's Athena has 35 million lines of Python code, and won't be updated to Python 3 in time TechRepublic
  • Mozilla's radical open-source move helped rewrite rules of tech CNET
  • Editorial standards