Configuring Colors and Fonts
With GoLand, you can maintain your preferable colors and fonts layout for syntax and error highlighting in the editor, search results, Debugger and consoles via font and color schemes.
GoLand comes with a number of pre-defined color schemes. You can select one of them, or create your own one, and configure its settings to your taste.
It is important to mention the Language Defaults settings page, which contains the settings that are common for all the supported languages. It's enough to change one of the settings there, and then inherit this setting from the defaults.
Configure a global font
In the Settings/Preferences dialog (Ctrl+Alt+S), click . The Color Scheme page opens.
Select a color scheme that you want to modify from the Scheme name drop-down list.
Under the Color Scheme node, select Font or Console Fonts.
In the Editor Font area, configure the primary and secondary fonts, their size, and line spacing.
Customize global color settings
The Language Defaults menu contains color settings that are common to the majority of language elements (for example, keywords, dots, commas, parenthesis, and other elements).
Navigate to File | Settings | Editor | Color Scheme | Language Defaults.
In the list of language elements, select an element (for example, Keyword).
Select a checkbox of the option that you want to change (for example, Background).
Click the field near the setting name to open a Color Picker.
Select a color and click OK.
Customize font settings for Go
If the Inherit values from checkbox is selected, clear this checkbox.
Select the necessary checkboxes for the font settings: Bold, Italic.
Configure semantic highlightingSettings/PreferencesCtrl+Alt+SColor SchemeEditorLanguage Defaults
In the list of language elements, click Semantic highlighting.
Select the Semantic highlighting checkbox, which is in the upper-right corner of the dialog.
As a result, all parameters in the list receive predefined colors. To change the suggested color, click the color picker and select the suitable color.