News

New for VS Code: Support for JUnit, HDInsight PySpark, Python and R for Azure Data Lake

Microsoft's Visual Studio Code team ships new releases monthly, but new features are also continually being provided via other means, such as extensions. Here's a look at some brand-new functionality just announced this week.

JUnit Support for Visual Studio Code
Just today, the Visual Studio Engineering Team announced JUnit support for the popular, open source, cross-platform code editor via a new entrant in the tool's Java extension family.

JUnit Testing
[Click on image for larger animated GIF view.]Animated JUnit Testing (source: Microsoft).

Called Java Test Runner, the extension now available in the Visual Studio Code Marketplace helps developers run and debug Java test cases in VS Code, working with the Language Support for Java by Red Hat and Debugger for Java, which are required to be installed, along with JDK version 1.8.0 or later and Unit4 4.8.0 or later.

It provides the following:

  • Support for JUnit4 test cases
  • Run test cases
  • Debug test cases
  • View test status and run summaries in logs

ADL Tools for VS Code Support for Python and R Programming
Yesterday, the Microsoft Azure team announced support for Azure Data Lake (ADL) Python and R extensions within VS Code.

"This means you can easily add Python or R scripts as custom code extensions in U-SQL scripts, and submit such scripts directly to ADL with one click," Jenny Jiang, principal program manager on the Big Data team, said. "For data scientists who value the productivity of Python and R, ADL Tools for VS Code offers a fast and powerful code editing solution. VS Code makes it simple to get started and provides easy integration with U-SQL for data extract, data processing and data output."

Big Data in VS Code
[Click on image for larger view.] Big Data in VS Code (source: Microsoft).

Key customer benefits, she said, include:

  • Local editor authoring and execution experience for Python Code-Behind to support distributed analytics
  • Local editor authoring and execution experience for R Code-Behind to support distributed analytics
  • Flexible mechanism to allow you to write single or multiple Python, R, and C# Code-Behind as part of a single U-SQL file
  • Dynamic Code-Behind to embed Python and R script into your U-SQL script
  • Integration with Azure Data Lake for Python and R with easy U-SQL job submissions

PySpark Interactive Queries and Batch Jobs

Big Data in VS Code
[Click on image for larger view.] Big Data in VS Code (source: Microsoft).

Earlier this week, Jiang also announced VS Code integration with HDInsight PySpark. This enables developers to edit Python scripts and submit PySpark statements to HDInsight clusters.

"For PySpark developers who value productivity of Python language, VS Code HDInsight Tools offer you a quick Python editor with simple getting started experiences, and enable you to submit PySpark statements to HDInsight clusters with interactive responses," Jiang said. "This interactivity brings the best properties of Python and Spark to developers and empowers you to gain faster insights."

She listed its key customer benefits as:

  • Interactive responses brings the best properties of Python and Spark with flexibility to execute one or multiple statements
  • Built-in Python language service, such as IntelliSense auto-suggest, autocomplete and error marker, among others
  • Preview and export your PySpark interactive query results to CSV, JSON, and Excel formats
  • Integration with Azure for HDInsight cluster management and query submissions
  • Link with Spark UI and Yarn UI for further troubleshooting

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • 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.

  • Introduction to .NET Aspire

    Two Microsoft experts will present on the cloud-native application stack designed to simplify the development of distributed systems in .NET at the Visual Studio Live! developer conference coming to Las Vegas next month.

  • Microsoft Previews Copilot AI for Open-Source Eclipse IDE

    Catering to Java jockeys, Microsoft is yet again expanding the sprawling reach of its Copilot-branded AI assistants, previewing a coding tool for the open-source Eclipse IDE.

Subscribe on YouTube

Upcoming Training Events