GoLand 2023.2 Help

Console

Use this page to configure how GoLand displays console output. These settings control folding, wrapping, and trimming lines, which makes 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. In the search field, type Registry and press Enter.

  3. Type go.run.processes.with.pty.

  4. Set the switch to the OFF position.

The Editor | General | Console settings
Use soft wraps in console

Wrap long lines in the console output at word boundaries.

Console commands history size

Specify how many console commands to include and display in the console history.

Override console cycle buffer size (1,024 KB)

Delete old messages when the console buffer size exceeds the specified value.

Default Encoding

Select the encoding that GoLand should use to view console output. By default, it uses the system encoding.

Fold console lines that contain

Configure a list of patterns for lines that you want to fold in the console output. See Folding patterns.

Exceptions

Configure a list of patterns for lines that you don't want to fold in the console output. See Folding patterns.

Folding patterns

Use the following buttons to manage the folding patterns from the two lists:

The Add button Add Alt+Insert

Open the Folding Pattern dialog and type a new pattern.

The Edit button Remove Alt+Insert

Remove the selected pattern from the list.

The Edit button Edit Enter

Open the Folding Pattern dialog and edit the selected pattern.

Last modified: 12 June 2023