Visual Studio starting afresh each time

This is a minor inconvenience so not important.
But for the last couple of months now every time I open MSVC 2022 from within unity the state has been reset, i.e. all tabs closed, all my bookmarks gone etc from the previous day.
How to get MSVC to remember the state that it was when I shut it down the previous day again?

cheers zed

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:

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

1 Like