Hi,
I’ve recently invested in a shinny new laptop for the sole purpose of proactive work.
However after installing Unity and Visual Studio, Visual Studio just isn’t working the way I’m used to.
To be specific it isn’t showing errors or anywhere near as much autofill information as on my old laptop.
At first it was kind of fun, having to figure out my mistakes from the error messages in unity, but after a couple days I am most definitely over it.
Any suggestions would be very much appreciated.
Do you have the Visual Studio package in the project, and Visual Studio set as the external code editor?
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.
Other times it requires you also nuke the userprefs and .vsconfig and other crufty low-value high-hassle files that Visual Studio tends to slowly damage over time, then try the above trick.
Barring all that, move on to other ideas:
Likely, if you have appeared here to this page you are having the problem I had for the past hour or so. Intellisense is not working in Visual Studio. Well lucky for you, I figured out the solution to fix this issue after searching the entire web. So you don’t have to search the web anymore, I will tell you how I fixed the issue.
Step 1:
Close Visual Studio
Step 2:
In Unity, go to Edit < Preferences < External Tools (left part of the Window)
Step 3:
In External Tools go to the part that sa…
Also, try update the package inside of Unity: Window → Package Manager → Search for Visual Studio Editor → Press the Update button
Depending on flavor and version of Visual Studio, it may also have an installation step that you perform within the actual Visual Studio. This step seems finicky at best and may require multiple openings of VS before it comes up.
Update: The VSCode extension has been deprecated and abandoned:
Hi everyone,
We want to update you on the state of the Visual Studio Code for Unity package.
This plugin was a result of one of our hackweek experiments by a few of our former employees. Unfortunately, it’s never been fully functional and hasn’t received any updates for almost two years, bringing you an unstable coding experience. We want to be open with you about its state so that you know what to expect.
The scripting team has huge projects in the works with a significant impact for a major…
Update: the VSCode integration is back… maybe!?
We are delighted to announce that Visual Studio Code support for Unity is coming back in a new improved form.
In June our friends at Microsoft launched the C# dev kit, which gives Visual Studio Code users access to some of the powerful C# tools more familiar to full Visual Studio users. Today, they are opening a preview of the Unity Extension for Visual Studio Code which brings the Unity experience for Visual Studio into Visual Studio Code.
The extension supports code editing powered by Roslyn…
There may be a community fork available that is receiving updates.
Enhance your Unity development workflow with seamless code editor integration for VSCode.
Also, this: No suggestions in Vscode
Recently (July 2023) I worked on a Windows11 system that required a Microsoft component to be installed from within Visual Studio before it would work properly with all the OTHER software installed under Unity. I have no documentation on that process as I have only seen it once and it surprised me as well.
Kurt-Dekker:
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.
Other times it requires you also nuke the userprefs and .vsconfig and other crufty low-value high-hassle files that Visual Studio tends to slowly damage over time, then try the above trick.
Barring all that, move on to other ideas:
https://discussions.unity.com/t/778503
Also, try update the package inside of Unity: Window → Package Manager → Search for Visual Studio Editor → Press the Update button
Depending on flavor and version of Visual Studio, it may also have an installation step that you perform within the actual Visual Studio. This step seems finicky at best and may require multiple openings of VS before it comes up.
Update: The VSCode extension has been deprecated and abandoned:
https://discussions.unity.com/t/886480
Update: the VSCode integration is back… maybe!?
https://discussions.unity.com/t/925353
There may be a community fork available that is receiving updates.
https://github.com/Chizaruu/com.tsk.ide.vscode
Also, this: https://discussions.unity.com/t/805330/7
Recently (July 2023) I worked on a Windows11 system that required a Microsoft component to be installed from within Visual Studio before it would work properly with all the OTHER software installed under Unity. I have no documentation on that process as I have only seen it once and it surprised me as well.
Thankyou for all the help.
I’m honestly not sure which one did the trick, I just started updating everything and half way through the list, Bingo.