S
S
Sergey Nizhny Novgorod2016-06-24 17:49:02
PyCharm
Sergey Nizhny Novgorod, 2016-06-24 17:49:02

How to do line wrapping in PyCharm?

Hello.

It turns out such a situation that if I have a long line of code, for example in tags, then the line simply goes to the side and a horizontal scroll bar appears.

How do I set up automatic line wrapping in Pycharm? as it is, for example, in notepad++

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Artem Klimenko, 2016-06-24
@aklim007

Settings -> Editor -> Use soft wrap in editor!

R
Roman Kitaev, 2016-06-24
@deliro

According to PEP8, the string length must not exceed 79 characters.
It also says that in some cases a longer string is allowed (for example, 99 characters).
But even 120 characters fit into the width of the screen.
Transfers are not needed.

V
Vyacheslav, 2016-06-24
@Firik67

stackoverflow.com/questions/17319422/where-to-set-...
The screen indicates the length of the line and a little lower it is necessary to mark the line wrapping.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question