Word wrapping in PyCharm Python Console?

ConsolePycharm

Console Problem Overview


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".)

Console Solutions


Solution 1 - Console

for version 3.4.1:

View -> Active Editor -> Use Soft Wraps

Solution 2 - Console

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

Solution 3 - Console

Starting with Pycharm Community Edition 2016.1, the settings mentioned in other answers are gone.

However, with the debug console opened (i.e. run your python script), click the Use Soft Wraps button there, this will also affect the python console, without any restart needed.

Soft Wraps button

Solution 4 - Console

For PyCharm version 4.5, soft wrap can be enabled as a global default here:

File > Settings > Editor > General > Soft Wraps > "Use soft wraps in editor"

Solution 5 - Console

Community edition its Preferences>Editor>General>Use Soft Wraps in Editor and then to be super cool you can go Preferences>Editor>General>Console>Use Soft Wraps in Editor

Soft wraps

Solution 6 - Console

For Pycharm Professional 2016.3.2 on Windows:

Click on the upper half of the Python Console (i.e. the output half, not the input line at the bottom).

On the main menu select Help and Find Action... (shortcut: CTRL + SHIFT + A).

Type "soft" in the "Enter action or option name" search box.

Toggle "Active Editor: Use Soft Wraps" to On.

Run a new command with long output and you should see it soft wrapped in the Python Console. Note, that previous output will not be wrapped.

(None of the above methods worked for the Python Console -- though they did work for the Debug Console and Event Log)

Solution 7 - Console

As of 2018 - I found the setting here:

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

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionHartmut PfarrView Question on Stackoverflow
Solution 1 - ConsoleBing RenView Answer on Stackoverflow
Solution 2 - ConsoleHartmut PfarrView Answer on Stackoverflow
Solution 3 - ConsoleVideonauthView Answer on Stackoverflow
Solution 4 - ConsoleR JView Answer on Stackoverflow
Solution 5 - ConsoleLaser HawkView Answer on Stackoverflow
Solution 6 - ConsoleCharles Brodhead IIIView Answer on Stackoverflow
Solution 7 - ConsoleWill ChenView Answer on Stackoverflow