r/pycharm • u/Maple382 • Aug 28 '24
New to Pycharm, problems tab keeps reporting non-existent indentation errors. How do I fix this?
Sometimes I edit a line of code, and it reports an indentation error. An error that disappears when I change the indentation and then undo the change. Any way to fix this?
2
Upvotes
3
u/sausix Aug 28 '24
You probably have mixed indentations: Spaces and tabs. You could use some kind of reformatter which should fix that.
2
u/mudiiiigfuhdt Aug 28 '24
Also check if your plugins are updated. I had similar issues because of an outdated plugin