NormalizeComments¶
Normalize comments.
Formatter configuration
NormalizeComments is included in the default formatters, but it can be also run separately with:
robocop format --select NormalizeComments
You can also disable NormalizeComments:
robocop format --configure NormalizeComments.enabled=False
Normalizes spacing after the beginning of the comment. Fixes missing-space-after-comment
rule violations
from the Robocop.
*** Settings ***
#linecomment
### header
*** Keywords ***
Keyword
Step #comment
*** Settings ***
# linecomment
### header
*** Keywords ***
Keyword
Step # comment
Skip formatting¶
It is possible to use the following arguments to skip formatting of the code:
Skip option (
--skip comments
)