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

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube