The issue is generally with the extensions, because I have myself tried all of the possible solutions, but didn't work in my case, and restarting the extensions resolved the issue.
VS code really needs to solve this issue, this is really a big one.