From ba4241e602f810e27aea41d47ff50af59a667958 Mon Sep 17 00:00:00 2001 From: Denis Mukhametianov Date: Tue, 14 May 2024 11:20:35 +0200 Subject: [PATCH] [spellchecker] doc for SpellCheckerQuickFixFactory and BuiltInDictionariesProvider GitOrigin-RevId: e8bf1eb390177ce8f5461aa93f1867c13da5c927 --- .../spellchecker/quickfixes/SpellCheckerQuickFixFactory.kt | 3 +++ .../spellchecker/settings/BuiltInDictionariesProvider.kt | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/spellchecker/src/com/intellij/spellchecker/quickfixes/SpellCheckerQuickFixFactory.kt b/spellchecker/src/com/intellij/spellchecker/quickfixes/SpellCheckerQuickFixFactory.kt index e0adb6294efd..b9f4905cc6df 100644 --- a/spellchecker/src/com/intellij/spellchecker/quickfixes/SpellCheckerQuickFixFactory.kt +++ b/spellchecker/src/com/intellij/spellchecker/quickfixes/SpellCheckerQuickFixFactory.kt @@ -8,6 +8,9 @@ import com.intellij.psi.PsiElement import com.intellij.spellchecker.DictionaryLayer import org.jetbrains.annotations.ApiStatus.Internal +/** + * Extension point for product-wide spellchecking inspection quickfixes customization. + */ @Internal interface SpellCheckerQuickFixFactory { companion object { diff --git a/spellchecker/src/com/intellij/spellchecker/settings/BuiltInDictionariesProvider.kt b/spellchecker/src/com/intellij/spellchecker/settings/BuiltInDictionariesProvider.kt index a92a5c935a49..4c70a14bed01 100644 --- a/spellchecker/src/com/intellij/spellchecker/settings/BuiltInDictionariesProvider.kt +++ b/spellchecker/src/com/intellij/spellchecker/settings/BuiltInDictionariesProvider.kt @@ -4,6 +4,10 @@ package com.intellij.spellchecker.settings import com.intellij.openapi.extensions.ExtensionPointName import org.jetbrains.annotations.ApiStatus +/** + * Extension point for providing built-in spellchecking dictionaries + * that should be displayed and can be edited in `Custom dictionaries` table in spellchecker options page. + */ @ApiStatus.Internal interface BuiltInDictionariesProvider { fun getDictionaries(): List