How do I change the cursor in VS Code?
// Controls the cursor style, accepted values are 'block', 'line' and 'underline'
"editor.cursorStyle": "line",
from VSCode settings.json defaults
Press Insert it should return back to normal. You can also press ctrl+shift+I. In mac os it is control. Head back to code this problem can be cumbersome.
Yes, in my case it was caused due to the Vim extension in VS Code. If it is installed then try pressing "i" or uninstall the extension.
I believe the reason is that you installed vim extension in vscode by mistake as it puts you in that mode by default until you press (i) to edit text. uninstall vim extension and things should go back to normal. or refer to this vim cheatsheet for more information about using vim as a text editor.