Set up Visual Studio Code with Unity and INTELLISENSE WORKING 2022

Uploaded by samyam
Share: Twitter Facebook
In this video I'll show you how to quickly set up Visual Studio Code (VSCode) with Unity and Intellisense working properly 2022.

I also recommend disabling Telemetry in Visual Studio Code
if you do not want to send usage analytic data to VS Code:
File/Preferences/Settings (macOS: Code/Preferences/Settings), search for telemetry, and set the Telemetry: Telemetry Level setting to off. This will silence all telemetry events from VS Code going forward.

There was an issue with OBS while recording which is why the quality looks a little lower than usual. Fixed for the next video! :)

? Support Me ?
Patreon: https://www.patreon.com/samyg
Donate: https://ko-fi.com/samyam

First download VS Code. Then download the .NET Core SDK from Microsoft. You also need to download the .NET Framework 4.7.1 Developer Pack for it to work properly. In Unity download the Visual Studio Code Editor package from the Package Manager. Then in Edit/Preferences set the external code editor to Unity in External Tools. Open a script in VS Code and install the C# extension. Close out of VS Code and go to Assets/Open C# Project. Intellisense should work now. And I recommend downloading the packages below as well to speed up Unity gamedev development.

Things to do if Intellisense is not working:
*Uninstall and Reinstall VS Code and .NET Packages
*Assets/Open C# Project
*Edit/Preferences/External Tools/Regenerate CSPROJ files

? Relevant Video Links ?
►Visual Studio Code
https://code.visualstudio.com/
►Visual Studio Code and Unity Instructions
https://code.visualstudio.com/docs/other/unity
►.NET Core SDK
https://dotnet.microsoft.com/download
►Microsoft .NET Framework 4.7.1 Developer Pack
https://dotnet.microsoft.com/en-us/download/dotnet-framework/net471

►Extensions
➡C# (Required)
https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp
➡Debugger for Unity (Optional -- Recommended)
https://marketplace.visualstudio.com/items?itemName=Unity.unity-debug
➡Unity Tools (Optional)
https://marketplace.visualstudio.com/items?itemName=Tobiah.unity-tools
➡Unity Code Snippets (Optional)
https://marketplace.visualstudio.com/items?itemName=kleber-swf.unity-code-snippets
➡C# XML Documentation (Optional)
https://marketplace.visualstudio.com/items?itemName=k--kato.docomment
➡GDScript Theme (Optional)
https://marketplace.visualstudio.com/items?itemName=JamesSauer.gdscript-theme
➡Rainbow Brackets
https://marketplace.visualstudio.com/items?itemName=2gua.rainbow-brackets
https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2

►⏱️ Timestamps ⏱️
0:00 Download VS Code
0:37 Download .NET SDK
0:49 Set VS Code Editor in Unity
1:18 Download Unity VS Code Package
1:40 Install C# extension
2:04 Download .NET Developer Pack
2:23 Assets/Open C# Project
2:52 Recap
3:37 Extensions
5:07 Outro

??THANK YOU TO ALL MY PATRONS ??

❯❯❯ My Links ❮❮❮
? Patreon ?
https://www.patreon.com/samyg
? Discord Server ?
https://discord.gg/SwCKB3Q
? Twitter ?
https://twitter.com/samyam_youtube
? Facebook ?
https://www.facebook.com/samyam.youtube/
? Music ?
Ambient Gold
streambeats.com
? Like and Subscribe! ?

?️ Computer Setup ?️
*As an Amazon Associate I earn from qualifying purchases.
https://www.amazon.com/shop/samyam

Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help me fund my development projects while recommending great assets!

#madewithunity #gamedev #unity