Fill Paragraph for Go Comments

Ensure that comments have the width you like.

How to use:

To configure the width of the comment paragraph, navigate to Settings/Preferences | Editor | Code Style | Go | Other | Fill paragraph width. After that, invoke the Show Context Action via Alt-Enter on Windows/Linux or ⌥ + Enter on macOS, and choose the Fill paragraph action.

New in 2020.2