Ansuman Bebarta Ansuman Bebarta - 6 months ago 61
Python Question

Where to set maximum line length in pycharm

I am using pycharm on windows. I am not getting the settings to change the maximum line length to 79 characters. I see that it is 120 characters by default. Where can I change it to 79 characters? I searched in the settings but didn't find.

Thanks

Answer

Here is screenshot of my Pycharm. Required settings is in following path: File -> Settings -> Editor -> Code Style -> General: Right margin (columns)

Pycharm 4 Settings Screenshot

Comments