referece to items in visual studios missing

right now I am using visual studio 2019 and when I wanted to code I found things like Vector’s and character controllers were missing. I don’t really know what is happening can someone help me because I cannot make games because of this.

Go to the Visual Studio Installer, and check if you have the “Game Development with Unity” package installed.

so my solution was: go to Edit < Preferences < External Tools then change whatever option I have in the external script editor to visual studio community 2019

that seems to work