Quantcast
Channel: Questions in topic: "vs"
Viewing all articles
Browse latest Browse all 110

VS Code doesn't autocomplete or show errors.

$
0
0
Hi i started learning C# for unity, I understood the syntax and all, i already use vs code for java, C++ and web, it works fine, but for C# as i am following a tutorial i found that it doesn't autocomplete unity related stuff, such as GameObject, the Input class and its methods, whats weird is that it autocompletes functions like update or fixedUpdate. ![alt text][1] in here i should get an errorbut i dont, ofc i get it in the editor: error CS0103: The name 'blablalbla' does not exist in the current context. ![alt text][2] also here why cant vs code detect the Input class, isnt it imported from one of these: using System.Collections; using System.Collections.Generic; using UnityEngine; everything is a mess, ps i do see all the assets and other scripts in the explorer tab, and i can access other classes in the assets and their methods. here is what ive done: i downloaded SDK and dotnet correctly, i set the code editor path correctly in preferences/ExternalTools, i got C# extinction, and a unity snippets extinction by unity. [1]: /storage/temp/188754-help1.jpg [2]: /storage/temp/188757-help-3.jpg

Viewing all articles
Browse latest Browse all 110

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>