Reputation: 935
I just installed PyCharm on my Mac and it looks like this when I edit or create a new Python file:
This is how the file looks like in TextEdit:
How can I change it so it looks normal again? (Like this:)
For whatever reason only one line is shown and I can't find an option to increase the number of lines that are displayed anywhere.
Upvotes: 3
Views: 790
Reputation: 4903
I updated to the fresh version 2021.2.1 and the problem went away.
Upvotes: 0
Reputation: 82
I had the same issue. Close every file individually, then close PyCharm.
After opening PyCharm back up, opening the project from Open Recent seemed to resolve the issue for me.
Upvotes: 3
Reputation: 935
Finally fixed the error myself. The latest version of PyCharm is buggy. Installing an older version of it fixed the problem for me
Upvotes: 0
Reputation: 10
Have you tried writing more lines of code?
in pycharm unused
imports are always in grey color, until the import is used.
So just continue writing your code it will become normal.
Upvotes: -2