

The version coming from the Ubuntu repositories doesn’t seem to play well with VS Code and Unit圓D.) (Note: don’t run the following command before first setting up the Mono repository.

Then, for the second step, install mono-complete instead of mono-devel as shown below. Next, head to the Mono Download page, and follow the first set of instructions to add the Mono repository to your system. NET Core SDK on Linux by following the instructions in the relevant documentation. Let’s fix this so that we can write Unit圓D scripts in a comfortable environment.įirst, install the. You also don’t get any indication of C# syntax errors. when you try to access an object’s properties - doesn’t work yet. However, Intellisense - the helpful suggestions that pop up e.g. You can now write C# scripts for Unit圓D in VS Code and you have syntax highlighting to help you. Now, if you create a C# script in Unit圓D and open it, it should open in VS Code. To set VS Code as the Unit圓D script editor, go to the Edit menu -> Preferences…, switch to the External Tools tab and then set the value of “External Script Editor” to the path to the VS Code executable.
