Search code examples
pythonvisual-studio-codeanaconda

"Enter" doesn't work in VS Code for Python


I installed Anaconda. Somehow, afterwards, when I press Enter in Python files, it no longer works. This error shows up:

command 'pythonIndent.newlineAndIndent' not found

How do I solve this problem?


Solution

  • Try checking your keybindings.json file, also disable all VS Code extensions and install them one by one. Maybe it's caused by some buggy extension.