if it had happened suddenly, it might be due to recent update or new extension in VS code. Try disabling extension temporarily and launch VS Code without extensions to confirm.
code --disable-extensions