To open scripts in VS Code, select it as the External Script Editor in the Editor Preferences (menu: Unity > Preferences > External Tools > External Script Editor). Unity supports opening scripts in Visual Studio Code (VS Code). Visual Studio Code (Windows, macOS, Linux) On Windows, Unity also includes Visual Studio 2017 Community. Using Visual Studio for Mac Tools for Unity.
For information on setting up and using Visual Studio for Mac, see the following Microsoft documentation pages: Visual Studio Tools for Unity (VSTU) provides Unity integration for Visual Studio for Mac (VS4M). On macOS, Unity includes Visual Studio for Mac as the C# IDE. With this option enabled, Unity launches Visual Studio and uses it as the default editor for all script files.
Visual Studio is set as the External Script Editor in Preferences (menu: Unity > Preferences > External Tools > External Script Editor). On Windows, you can choose to exclude it when you select which components to download and install. Visual Studio is installed by default when you install Unity on Windows and macOS. Unity supports the following IDEs: Visual Studio (default IDE on Windows and macOS) An integrated development environment ( IDE) is a piece of computer software that provides tools and facilities to make it easier to develop other pieces of software.