Fix Visual Studio Code Unity IntelliSense AutoComplete (ACTUALLY Working Solution)

preview_player
Показать описание
This has been bugging me for years. I finally sat down and settled things by staring Unity and vscode deep in its eyes. Also giving them blue eyes. Yes, I beat the living code out of software. It's a living. Good night.
Рекомендации по теме
Комментарии
Автор

this guys is so calm and angry at the same time

Someone-nxgl
Автор

I love your voice. Like you have been let down by life and are just waiting for the void.

SquareTimber
Автор

Hello!
One note for those who couldn't get it done with this exact method;
- After opening the C# Project from Assets drop-down menu, enable "output" on visual studio by clicking View > Output and see if you need a specific .NET developer package. In my instance, I needed 4.7.1 so after installing it, the issue resolved.

However, VS Code opens up 2 instances when i'm opening it for the first time using Assets>C# Project. One opens the general UI and the 2nd one opens the code itself. The one with the code still doesn't have intellisense but if i open the script on the first instance, intellisense works.

WHY is this so confusing, I have no idea.

PelinsuMarple
Автор

Thanks, it helped knowing I am not alone

michaellarsen
Автор

Congrats man. Doing a better job then the docuentation writters from microsfot and Unity together.

AlanPCS
Автор

I feel your struggle, brother. Thanks, it now works. l really love editing in VSCode (compared to VS), but I really hate how poorly it interacts with Unity

VaustXIII
Автор

"Why... Why... Why..."
Famous last words

thejasezonakhro
Автор

Fuck me this actually worked. For years, I've been looking for a way to do this for 3 years. Thank you sir.

malikbenslimane
Автор

It's a bit embarrassing but I literally cried half an hour ago bc I couldn't find a solution to this problem. Now it works. Thank you

AdizaSuvorova
Автор

So apparently there's this option you have to disable in order to use it with Unity now.
In your settings look for; Omnisharp:UseModernNet
And set that thing to false, close Code, go to Unity and open it via Edit > Open C# Project.
Let it install as he did, and after that you're good to go. Even when opening scripts via double-click in future.
You're welcome.

Tvl
Автор

I LOVE YOU. I’ve spent my whole day yesterday watching countless videos and this is the one that worked for me! Very simple tutorial and saved me a ton! I hope you know you’re appreciated!!!😭😭😭😭

yugahoriuchi
Автор

Finally a legit solution I was going crazy over this problem. Uninstalled and cleared all data sevral times but absolutely nothing happened. Doing the first steps in the video via external tools did the trick for me.

smarandas
Автор

Thanks! All I had to do was make sure to set it to Visual Studio in Preferences instead of Open by file extension, then load a script from Unity, accept Windows security prompt and intellisense worked right away! I almost feel bad for only watching for 13 seconds, but this video helped me fix it that fast. You rock!

AboutLeon
Автор

What I learnt from this video: Keep closing and opening VS Code until it suddenly decides to work.

PurooRoy
Автор

Sorry I am (very) late but will this work for visual studio community 2019? I used it before my pc had to get fixed and it worked fine then but know it won’t tell me anything?

CSharpShark
Автор

Aahah this video is so funny XD Every developer in their life has to fight with these things!

sintetico
Автор

1. Thanks for the tutorial
2. You made me laugh several times, love the way you did this tutorial

mokuuu
Автор

bro this vid was 2 years ago and still works I actually love you

OwOkarma
Автор

bro its not downloading for me its asking me for Sdk and still nothing happened

dakshjain
Автор

I went through so many forums but couldn't find the issue, but this helped thanks a lot.💌

akshaymohandas