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.
Click
.In the search field, type
Registry
and press Enter.Type
go.run.processes.with.pty
.Set the switch to the OFF position.
- 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. Use
*
as a wildcard. 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:
- Add Alt+Insert
Open the Folding Pattern dialog and type a new pattern.
- Remove Alt+Insert
Remove the selected pattern from the list.
- Edit Enter
Open the Folding Pattern dialog and edit the selected pattern.