summaryrefslogtreecommitdiff
path: root/spellchecker/src/META-INF/SpellCheckerPlugin.xml
blob: a6108edac1ff1f46f9b3edd7538b2eeb8c7d8937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<idea-plugin>

  <actions>
    <group id="com.intellij.spellchecker.actions.SpellingPopupActionGroup"
           class="com.intellij.spellchecker.actions.SpellingPopupActionGroup" text="Spelling" popup="true">
      <add-to-group group-id="EditorPopupMenu" anchor="first"/>
    </group>

  </actions>

  <extensionPoints>
    <extensionPoint name="spellchecker.support" beanClass="com.intellij.lang.LanguageExtensionPoint">
      <with attribute="implementationClass" implements="com.intellij.spellchecker.tokenizer.SpellcheckingStrategy"/>
    </extensionPoint>
    <extensionPoint name="spellchecker.bundledDictionaryProvider" interface="com.intellij.spellchecker.BundledDictionaryProvider"/>
  </extensionPoints>

  <extensions defaultExtensionNs="com.intellij">
    <errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>

    <projectService serviceInterface="com.intellij.spellchecker.settings.SpellCheckerSettings"
                    serviceImplementation="com.intellij.spellchecker.settings.SpellCheckerSettings"/>
    <projectService serviceInterface="com.intellij.spellchecker.SpellCheckerManager"
                    serviceImplementation="com.intellij.spellchecker.SpellCheckerManager"/>
    <editorCustomization implementation="com.intellij.spellchecker.ui.SpellCheckingEditorCustomization"/>
    <projectConfigurable instance="com.intellij.spellchecker.settings.SpellCheckerSettingsManager" id="reference.settings.ide.settings.spelling" key="spelling" bundle="com.intellij.spellchecker.util.SpellCheckerBundle" />


    <localInspection shortName="SpellCheckingInspection" bundle="com.intellij.spellchecker.util.SpellCheckerBundle"
                     key="spellchecking.inspection.name" groupKey="spelling" enabledByDefault="true" level="TYPO"
                     implementationClass="com.intellij.spellchecker.inspections.SpellCheckingInspection"/>

    <nameSuggestionProvider id="DictionarySuggestionProvider" implementation="com.intellij.spellchecker.quickfixes.DictionarySuggestionProvider" order="first"/>
    <severitiesProvider implementation="com.intellij.spellchecker.SpellCheckerSeveritiesProvider"/>
    
    <spellchecker.support language="TEXT" implementationClass="com.intellij.spellchecker.tokenizer.SpellcheckingStrategy"/>
    <spellchecker.support language="HTML" implementationClass="com.intellij.spellchecker.tokenizer.HtmlSpellcheckingStrategy"/>
    <spellchecker.support language="XML" implementationClass="com.intellij.spellchecker.xml.XmlSpellcheckingStrategy" id="xml"/>
    <spellchecker.bundledDictionaryProvider implementation="com.intellij.spellchecker.DefaultBundledDictionariesProvider"/>

    <projectService serviceImplementation="com.intellij.spellchecker.state.ProjectDictionaryState"/>
    <projectService serviceImplementation="com.intellij.spellchecker.state.AggregatedDictionaryState"/>
    <applicationService serviceImplementation="com.intellij.spellchecker.state.CachedDictionaryState"/>
  </extensions>
</idea-plugin>