Word wrapping in PyCharm Python Console?

前端 未结 7 1204
忘掉有多难
忘掉有多难 2021-02-01 12:29

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

7条回答
  •  后悔当初
    2021-02-01 13:03

    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)

提交回复
热议问题