SpaceAfterCast
Ensures there is a single space after cast tokens.
Scope
Generic.Formatting.SpaceAfterCast
Description
Exactly one space is allowed after a cast.
Properties
Property Name | Type | Default | Available Since |
---|---|---|---|
ignoreNewlines | bool | false | 3.4.0 |
spacing | int | 1 | 3.4.0 |
Usage
xml
<rule ref="Generic.Formatting.SpaceAfterCast">
<properties>
<property name="ignoreNewlines" value="true" />
</properties>
</rule>
Examples
No Examples Available
Please edit this page through Github to add examples.