Inspectopedia
 
2024.3

Leading whitespace in directive comment

Warning
Code Style
New
Last modified: 03 December 2024

Reports leading whitespaces before Go directives in comments.

Go directives are not recognized if there is whitespace between // and the Go directive.

The quick-fix removes the leading whitespace before the Go directive.

Example:

After the quick fix is applied: