0

Unity extension for Visual Studio

 6 months ago
source link: https://devblogs.microsoft.com/dotnet/unity-extension-for-visual-studio-code-now-generally-available/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Unity extension for Visual Studio Code – Now Generally Available

9e2fc9b611fd833dc9f227b2527d62c5?s=58&d=mm&r=g

Jb Evain

March 12th, 20241 2

Today, we are thrilled to announce the general availability of the Unity extension for Visual Studio. This extension, built upon the C# Dev Kit and C# extensions, gives you a comprehensive toolkit for your Unity development in Visual Studio Code across Windows, macOS, and Linux.

We shipped the first preview of the Unity extension for Visual Studio Code last year and have been working since on improving the experience thanks to your feedback!

Unity and the Unity extension for Visual Studio Code

What is the Unity extension?

Code Editing powered by Roslyn

C# editing is backed by the C# extension, giving you powerful IntelliSense code-completion. Along with the IntelliCode for C# Dev Kit extension, you get AI-assisted features such as whole-line completions and starred suggestions as you type.

The extension also includes the Unity Roslyn Analyzers project, giving you suggestions and code fixes tailored to Unity.

Unity Roslyn analyzers suggesting a code fix

Debug Unity and your Unity games

The extension makes it easy to debug your Unity games, either running in the Unity Editor or standalone, while running on all the platforms that Unity support. Just press F5 to attach the debugger to your game running in the Unity Editor or use the new “Attach Unity Debugger” command to see a list of Unity Editors and Unity Players that you can debug.

Attach Unity Debugger command

After that, just put a breakpoint in your code and run your game in Unity!

Debugging Unity with the Unity extension

How to get started?

Head over to the Unity extension page for a complete README on how to get started, depending on the version of Unity you are using.

What is next?

Today’s official launch is only the start as we will continue to listen to your feedback and work toward improved performance, reliability, and adding features to support your Unity development in VS Code.

Please share your feedback by reporting new issues via VS Code or searching the existing enhancement and issues and give your ‘thumbs up’ or additional context to the issue to help us prioritize.

Jb Evain Principal Software Engineering Manager, Visual Studio Tools for Unity

Follow


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK