My Enter Key Also Wasn't Working and when I heard that for many people it is caused by the extension "vscode-styled-components" which I didn't have so I ended up installing it and then disabling it.
and somehow, it worked.
edit: I think it was because of python indent as I also disabled that extension.