If you are still having issues with this check my post just in case: PSA: If your VS Code C# extension stopped working... page-2#post-5657998
UPDATE
It fixes it but it broke again when I updated the unity version and it broken again after unity crashed… I keep having to do it… not a solution.