LanguageTool Community

<< return to list of rules

Rule "Use of whitespace before comma and before/after parentheses"

This is one of many errors that LanguageTool can detect. Visit the LanguageTool homepage to use it online or download it for free.

Description: Use of whitespace before comma and before/after parentheses
Category: Typography (ID: TYPOGRAPHY)
Incorrect sentences
that this rule can detect:
  • We had coffee , cheese and crackers and grapes.
    Correction suggestion: ,
Correct sentences
for comparison:
  • We had coffee, cheese and crackers and grapes.
Pattern: [Java Rule] Sourcecode
Check the following text against just this rule:

ID: COMMA_PARENTHESIS_WHITESPACE
Version: 6.5-SNAPSHOT (2024-09-26 16:45:37 +0000)