Disabling rules and categories

Disable individual rules or whole categories for any checking type.

This includes grammar rules, AI corrections and style rules.

How it works

You create one or more JSON files with rule/category IDs.

You then reference these files in AppServerX.xml under the target <Language ...> block.

File location

Disabled rules files live in the AppServer resources directory:

  • Default: <WebSpellChecker_Installation_Path>/AppServer/Resources/

  • Configurable via ResourcesDir in AppServerX.xml. See AppServer parameters.

Place files under the language group folder:

  • Resources/<lang_group>/

  • Example: Resources/en/en_US_disabled_rules.json

Use a predefined file (or create your own)

You can start from a predefined *_disabled_rules.json file shipped in Resources/<lang_group>/.

Edit it to add or remove entries.

You can also create a new JSON file from scratch.

Disabled rules JSON format

Example: en_US_disabled_rules.json

  • rules contains rule IDs.

  • categories contains category IDs.

Configure AppServerX.xml

You can use:

  • multiple disabled rules files per language.

  • one shared file reused across several languages.

Add one <DisabledRules .../> entry per file inside the <Language ...> block.

Example:

Path is resolved relative to ResourcesDir.

Apply changes

circle-exclamation

Restart AppServer to apply changes in AppServerX.xml.

To restart: stop the application, then start it again.

Use Main AppServer commands.

Changes in *_disabled_rules.json files are applied without the restart.

See Main AppServer commands.

Last updated

Was this helpful?