Problem with Predictive text on Visual Studio in Unity.

Hi! I am a new programmer who is learning in Unity with Domestika and Youtube. When I was doing the video tutorials I noticed somthing wrong. In the video, they have the predictive text with unity code and the words in the code are almost all colored. But in my case, the predictive text only show things like (if, else, bool, etc.) and the code only colorize the text in “” or /, or the numbers, or the if, else, etc. I tried to reinstall Unity and Visual Studio but it didn’t worked.
It has to be like this:
7598224--942691--upload_2021-10-24_14-29-36.png
But is like this:
7598224--942694--upload_2021-10-24_14-31-19.png

How you see, the Input and the Update dont colorize and the GetMouseButtonUp dont show in the Predictive text.

Check Edit → Preferences → External Tools → External Script Editor is setup correctly. Make sure you have Visual Studio Tools for Unity installed as well.

1 Like

Thanks for the help! But I already checked and its all correct but it doesn’t work.

1 Like

This may help you with intellisense and possibly other Visual Studio integration problems:

Sometimes the fix is as simple as doing Assets → Open C# Project from Unity. Other times it requires more.

Also, try update the VSCode package inside of Unity: Window → Package Manager → Search for Visual Studio Code Editor → Press the Update button

Also, this: No suggestions in Vscode

Hi! It worked! Thank you so much for the help! It was the thing of external tools. Now I can start to learn again! :smile:

1 Like