Search code examples
consolepycharm

Word wrapping in PyCharm Python Console?


Anybody here who knows, if and how I could enable word wrap in the Python console for long lines? I can't see them as a whole, I have always to scroll the window to the righit, to get all informations. I have only 5 Buttons offered: rerun, stop, close, execute current statement, help.

(in contrast to this, in Event Log, I see buttons called "Use soft wraps".)


Solution

  • I found the answer here:

    File -> Settings -> Editor -> "Virtual Space" group -> Use soft wraps in console
    

    In PyCharm version 2018.3.3 it can be found under

    File -> Settings -> Editor -> General -> Console: Use soft wraps in console
    

    In PyCharm version 2021.2.4 on OS X it can be found under

    PyCharm -> Preferences -> Editor -> General -> Console