I've faced this problem recently, when I press tab or spacebar button in vscode it doesn't add whitespace rather than it just blinking and not working properly.
My keyboard is alright I've checked all keys and I uninstall vs code in several times but it still doesn't fix. How can I solve it?