I'm new to the coding world. Was using VS code to learn Java without any issue up till now. But all of a sudden, it doesn't underline errors (Syntax or logical) any more. I tried googling for help, but couldn't resolve the matter.

I'm new to the coding world. Was using VS code to learn Java without any issue up till now. But all of a sudden, it doesn't underline errors (Syntax or logical) any more. I tried googling for help, but couldn't resolve the matter.

(Posted an answer on behalf of the question author, to move it to the answer space).
Update: The matter is resolved. Cleaned the workspace cache. Things are working like before.