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.
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: 4.0-SNAPSHOT (2017-10-18 20:01)