Visual Studio IntelliCode Preview Offers Instant API Code Examples — Visual Studio Magazine

Visual Studio IntelliCode Preview Offers Instant API Code Examples — Visual Studio Magazine


Visible Studio IntelliCode Preview Features Fast API Code Illustrations

The to start with preview of Visible Studio 2022 17.6 boosts GitHub integration and also sees AI-assisted IntelliCode immediately presenting up true-globe API code examples — no a lot more context switching necessary.

Visible Studio 2022 17.6 Preview 1 delivered this week together with the GA launch of VS 2022 v17.5. For that insignificant-edition update, the corporation touted AI-powered intent-based mostly ideas. Now, AI is set to additional use, addressing the disappointment of context switching — or having to depart the IDE to lookup for enable.

“Now with Visual Studio 17.6 Preview, IntelliCode helps make locating actual-globe code illustrations for frequent APIs simpler than at any time,” reported Mcrosoft’s Peter Groenewegen in a Feb. 22 web site article. “With this feature, you may have actual illustrations at your fingertips. See how an API has been applied in real-earth projects. Preserving you time and building your coding even extra successful.”

API Code Examples in Animated Action
[Click on image for larger, animated GIF view.] API Code Illustrations in Animated Motion (resource: Microsoft).

This performance was presented previous yr in the open up-source-based mostly Visible Studio Code editor via an extension, which has now been put in nearly 10 million occasions.

VS Code Tool
[Click on image for larger view.] VS Code Tool (supply: Microsoft).

The examples — opening up in a new tab on clicking a hover-generated prompt link — appear from IntelliCode’s databases, specially some 100,000 unique APIs, as the AI engine was properly trained on open up supply repositories on GitHub.

And talking of GitHub, v17.6 preview 1 also more integrates with that open resource code repository/progress system, with related in-IDE search-and-reference functionality.

“The GitHub Problems integration enables you to look for and reference your problems from the commit message box in VS, in response to this suggestion ticket,” says the preview 1 launch notes. “You can reference an situation or a pull request by typing # or clicking on the # button in the decrease proper aspect of the dedicate message textual content box. If you were not presently authenticated to accessibility relevant issues, you will now be prompted to sign in to acquire gain of this characteristic.”

This new element is further more explained in a Feb. 23 website publish from Microsoft’s Jessie Houghton titled “Reference GitHub Issues and Pull Requests in Visible Studio.”

“Pace up your workflow by linking your relevant perform things instantly in Visible Studio. You can use the related merchandise to get far more context from the Git Repository window,” said Houghton, who goes on to explain how it performs.

The preview 1 launch notes also detail line unstaging, help for the .Internet Multi-system Application UI (MAUI) workload on Arm64 Visible Studio, different C++ enhancements and more.

About the Writer

David Ramel is an editor and author for Converge360.&#13