Unity3d Visual Studio Code setup - VSCode intellisense, VSCode Unity Debugger, and VSCode Snippets

preview_player
Показать описание
Unity3d Visual Studio Code is the best combo when it comes to productivity and speed. In this video, I am going to help you setup Visual Studio Code in Unity and also provide you with few extensions that I believe to be a must for anyone seeking to work with these two amazing applications.

I also include extensions required to make Unity and Visual Studio intellisense / VSCode autocomplete work with Unity3d.

Get realtime indie development tips from me in Twitter

Subscribe to my indie development videos & game releases newsletter

Blog about Indie development and startup
Рекомендации по теме
Комментарии
Автор

Thank you so much! You saved my day! I've been pulling my hair all day trying to install Visual Studio for the latest Unity version and this video helped so much.

Bitboxx
Автор

Thank you so much. This was a lifesaver. I'm just starting to work with unity, and I was already struggling to use scripts without knowing the exact name of the method I was looking for.

alekid
Автор

The actual video quality is insane. 👍

joakin
Автор

thanks guy's i switched from visual studio to vs code that's awesome

zogoloov
Автор

subscribed liked and everything. thank you for this

Celcious
Автор

For those in mac with Intellisense not working: brew cask install dotnet; brew install mono. Then open VSCode preferences and search for Omnisharp: Use Global Mono > Always. Restart VSCode and you are done. Happy coding.

franciscogaxiola
Автор

you beautifu hispanic sounding bastard ya thanks sooo much 4 hours i was trying to sort this and you gave me double maybe triple the functionality, dropped a like

xxbergxx
Автор

one more thing learned with the Valdecillos pills. Thx a lot

jhonsonmartinez
Автор

gracias!! mi pc es lentito y no aguantaba mucho el visual studio

giorgioorlandi
Автор

Make sure your main project file name is one word (your main folder). This was never a problem for me before but now with 2019.3 VSCode was launching and creating a tab for each word in my title. Getting rid of all of the spaces in the file has fixed it.



To re-sync the project with Unity Hub you just have to hit Add and select the folder again.

tvguideondemand
Автор

Hi, thanks for the great video. I've followed the steps and done the Assets-> Open C# Project, but my intellisense still doesn't work. Not sure what the issue is. Any solutions?

aashritparvangada
Автор

Hi, Thanks for the videos! I’ve installed the Visual Studio Code Extension, but it does not create a Mac Application named Visual Studio Code. Instead, there is a folder Visual_Studio_Code in Magic Leap Tools containing a folder v0.9.8, which contains a single file mlexteneion-0.9.8.vsix. How can I create the application?

larryapple
Автор

nowhere have i heard that i had to restart unity in order to attach properly.. was wondering why i got no code-completion. Thanks mate, this is quite a relieve!

TheLeontheking
Автор

i have done this but my intelli sense thing doesnt pick up anything from unity, apart from the things from the extension and if i use them they give an error, also it doesnt let me do things like Using UnityEngine; etc

jaygo
Автор

You can also download "Visual Studio Code Unity Integration" on the asset store to give you intellisense for things like gameObject GetComponent etc.

bigedwerd
Автор

I'm new to Visual Studio 2019 (on Windows). I'm a little perplexed that Edit - Preferences is missing, where is it? I'd love to use those Unity extensions and can't find where to make that happen.

WPguru
Автор

For some reason my vscode doesnt really work porperlly with unity...it sometimes says that my namespaces are wrong, like a simple UnityEngine.UI...I can't solve this problem!

MGArtDZN
Автор

Hi ! Is there a way to get automatic constructors based on declared fields in VSCode ?
Also, do you know any way to get intellisense autocompletion order be based on class inheritance instead of alphanumeical order?
Thank you!

I'm new to VSCode, i'm missing MonoDevelop which is not comptatible with C#6+.

mowztouch
Автор

I made all proses but still im getting an error about not compatible with framework 4.7.1.
Intellisense doesnt work correctly.
I reinstalled net framework but problem occur.I havent any issue about autocompletion on mono before .But new unity versions made me mad..how can i solve it.

adggdggh
Автор

Windows -> Search -> Visual Studio Installer -> Modify -> Individual Components and check the right version

fatihbulut