How do I set the maximum line length in PyCharm?

后端 未结 6 878
有刺的猬
有刺的猬 2020-12-12 11:28

I am using PyCharm on Windows and want to change the settings to limit the maximum line length to 79 characters, as opposed to the default limit of 120

6条回答
  •  暖寄归人
    2020-12-12 12:16

    For PyCharm 4

    File >> Settings >> Editor >> Code Style: Right margin (columns)

    suggestion: Take a look at other options in that tab, they're very helpful

提交回复
热议问题