Skip to content

AC0014: Make allowed ToolTip ending punctuation configurable #361

Description

@MODUSCarstenScholling

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    part of upcoming releaseAvailable in alpha/beta and waiting to be included in the next stable release

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions