
Microsoft launches Unity extension for Visual Studio Code to enhance game development
Microsoft has officially launched the Unity extension for Visual Studio Code, available now across Windows, macOS, and Linux. The extension is built upon the C# Dev Kit and C# extensions, providing a comprehensive toolkit for Unity development in Visual Studio Code.
The extension's C# editing is supported by the C# extension, which features powerful IntelliSense code-completion. Alongside the IntelliCode for C# Dev Kit extension, users gain access to AI-assisted features such as whole-line completions and starred suggestions. The Unity Roslyn Analyzers project is also included, offering suggestions and code fixes specific to Unity.
Debugging Unity games is simplified with the extension, applicable to games running in the Unity Editor or standalone, across all Unity-supported platforms. Users can easily attach the debugger to a game running in the Unity editor by pressing F5, or use the new “Attach Unity Debugger” command to view a list of Unity Editors and Unity Players available for debugging. Users can then set a breakpoint in the code and run the game in Unity.
The Unity extension is available for installation from the Visual Studio Marketplace. According to Microsoft, this launch marks just the beginning, with plans for continued improvements in performance, reliability, and the addition of features to support Unity development in VS Code.