

Now available in the Assets menu is Open C# Project In Code. This is useful for debugging any issues with the integration.Ĭlicking the Write Workspace Settings button will configure the workspace settings to filter out non-code assets created by Unity e.g.meta files. Toggle on Enable Integration and you are ready to get going.Īdditionally, you can toggle Output Messages To Console which will echo output to the Unity console e.g. To turn on the use of the provided integration you will need to go to Unity Preferences and select the newly created VSCode tab. Typically this should be stored under Assets. Tip: You may need to create a Plugins folder. Go to the folder where you downloaded the plug-in source code and copy the Plugins\Editor\dotBunny folder to your Unity project. Open up a console and do a clone of the repo to get the plug-in source code. We have also not done any significant testing of the plug-in with the Linux Unity build. Windows does not support debugging via Mono.

Note: Debugging support is only offered on OS X today.

If you get OmniSharp errors, you may need to update your Mono version. Note: VS Code uses a more recent version of Mono than that included with Unity.

Read on to find out how to configure Unity and your project to get the best possible experience. In the screen below you can see code colorization, bracket matching, IntelliSense, Code Lens and that's just the start. All of the C# features are supported and more. Visual Studio Code can be a great companion to Unity for editing and debugging C# files.
