GoLand 2020.2 Help

Console

File | Settings | Editor | General | Console for Windows and Linux

GoLand | Preferences | Editor | General | Console for macOS

Use this page to define lines to be folded in consoles . This lets you hide extraneous information and make console output easier to read and comprehend.

Fold the #gosetup output

If you experience problems with folding of the #gosetup output, try to switch off the go.run.processes.with.pty setting.

  1. Click Help | Find Action.

  2. Type go.run.processes.with.pty.

  3. Set the switch to the OFF position.

ItemDescription
Use soft wraps in console If this checkbox is selected, soft wraps (or word wraps) are used in consoles.
Console commands history size In this field, specify how many console commands will be included in the console history and can be browsed through.
Override console cycle buffer size (1024 KB) Select this checkbox if you want to delete old messages when the console buffer size exceeds the specified value.
Fold console lines that contain

In this area, configure a list of patterns that determine the lines to be hidden in console output. Any line that contains one of these patterns as a substring is hidden. Use the following icons or shortcuts:

ItemShortcutDescription
the Add buttonAlt+InsertUse this icon or shortcut to open the Folding Pattern dialog and type a new pattern.
EditEnterUse this icon or shortcut to open the Folding Pattern dialog and edit the selected pattern.
RemoveAlt+DeleteUse this icon or shortcut to remove the selected pattern from the list.
Exceptions

In this area, configure a list of patterns that determine the lines not to be folded in console output. Any line that contains one of these patterns as a substring is displayed. Use the following icons or shortcuts:

ItemShortcutDescription
the Add buttonAlt+InsertUse this icon or shortcut to open the Folding Pattern dialog and type a new pattern.
EditEnterUse this icon or shortcut to open the Folding Pattern dialog and edit the selected pattern.
RemoveAlt+DeleteUse this icon or shortcut to remove the selected pattern from the list.
Last modified: 26 June 2020