The current implementation of AC0014 hardcodes a trailing dot as the only accepted ToolTip ending. Some teams use different punctuation conventions (e.g. exclamation marks in specific locales or house styles).
Changes:
- The rule is renamed from ToolTip must end with a dot to ToolTip must end with a punctuation.
- A new
ToolTipAllowedPunctuations setting in alcops.json accepts an array of { Character, Name } objects that define which punctuation characters are accepted.
- Default behavior is unchanged: when the setting is absent, a trailing dot is required.
- The diagnostic message now includes the configured punctuation names so users receive actionable feedback.
Example configuration:
{
"ToolTipAllowedPunctuations": [
{ "Character": ".", "Name": "dot" },
{ "Character": "!", "Name": "exclamation mark" }
]
}
I will provide a PR for this change.
The current implementation of AC0014 hardcodes a trailing dot as the only accepted ToolTip ending. Some teams use different punctuation conventions (e.g. exclamation marks in specific locales or house styles).
Changes:
ToolTipAllowedPunctuationssetting inalcops.jsonaccepts an array of{ Character, Name }objects that define which punctuation characters are accepted.Example configuration:
{ "ToolTipAllowedPunctuations": [ { "Character": ".", "Name": "dot" }, { "Character": "!", "Name": "exclamation mark" } ] }I will provide a PR for this change.