7b8edfc66c4697cb26d3baaf0e91ead85a98ba09
[idea/community.git] / platform / platform-resources / src / META-INF / JsonPlugin.xml
1 <idea-plugin version="2">
2
3   <module value="com.intellij.modules.json"/>
4
5   <application-components>
6     <!-- Add your application components here -->
7   </application-components>
8
9   <project-components>
10     <!-- Add your project components here -->
11   </project-components>
12
13   <actions>
14     <!-- Add your actions here -->
15   </actions>
16
17   <extensions defaultExtensionNs="com.intellij">
18     <fileTypeFactory implementation="com.intellij.json.JsonFileTypeFactory"/>
19     <lang.parserDefinition language="JSON" implementationClass="com.intellij.json.JsonParserDefinition"/>
20     <lang.syntaxHighlighterFactory key="JSON" implementationClass="com.intellij.json.highlighting.JsonSyntaxHighlighterFactory"/>
21     <psi.treeChangePreprocessor implementation="com.intellij.json.psi.impl.JsonTreeChangePreprocessor"/>
22
23     <!-- Code style and formatting -->
24     <codeStyleSettingsProvider implementation="com.intellij.json.formatter.JsonCodeStyleSettingsProvider"/>
25     <langCodeStyleSettingsProvider implementation="com.intellij.json.formatter.JsonLanguageCodeStyleSettingsProvider"/>
26     <colorSettingsPage implementation="com.intellij.json.highlighting.JsonColorsPage"/>
27     <lang.formatter language="JSON" implementationClass="com.intellij.json.formatter.JsonFormattingBuilderModel"/>
28     <lang.braceMatcher language="JSON" implementationClass="com.intellij.json.JsonBraceMatcher"/>
29     <quoteHandler fileType="JSON" className="com.intellij.json.JsonQuoteHandler"/>
30     <enterHandlerDelegate implementation="com.intellij.json.formatter.JsonEnterBetweenBracesHandler"/>
31
32     <!-- Codeinsight -->
33     <breadcrumbsInfoProvider implementation="com.intellij.json.breadcrumbs.JsonBreadcrumbsProvider"/>
34     <qualifiedNameProvider implementation="com.intellij.json.navigation.JsonQualifiedNameProvider"/>
35     <completion.contributor language="JSON" implementationClass="com.intellij.json.codeinsight.JsonCompletionContributor"/>
36     <lang.psiStructureViewFactory language="JSON" implementationClass="com.intellij.json.structureView.JsonStructureViewBuilderFactory"/>
37     <lang.foldingBuilder language="JSON" implementationClass="com.intellij.json.editor.folding.JsonFoldingBuilder"/>
38     <lang.smartEnterProcessor language="JSON" implementationClass="com.intellij.json.editor.smartEnter.JsonSmartEnterProcessor"/>
39     <lang.namesValidator language="JSON" implementationClass="com.intellij.json.JsonNamesValidator"/>
40     <lang.commenter language="JSON" implementationClass="com.intellij.json.editor.JsonCommenter"/>
41     <lang.surroundDescriptor language="JSON" implementationClass="com.intellij.json.surroundWith.JsonSurroundDescriptor"/>
42     <lang.findUsagesProvider language="JSON" implementationClass="com.intellij.json.findUsages.JsonFindUsagesProvider"/>
43     <statementUpDownMover implementation="com.intellij.json.editor.lineMover.JsonLineMover" id="JSON" order="before line"/>
44     <liveTemplateContext implementation="com.intellij.json.liveTemplates.JsonContextType"/>
45     <spellchecker.support language="JSON" implementationClass="com.intellij.json.JsonSpellcheckerStrategy"/>
46     <extendWordSelectionHandler implementation="com.intellij.json.editor.selection.JsonStringLiteralSelectionHandler"/>
47     <basicWordSelectionFilter implementation="com.intellij.json.editor.selection.JsonBasicWordSelectionFilter"/>
48
49     <!-- Annotators -->
50     <annotator language="JSON" implementationClass="com.intellij.json.codeinsight.JsonLiteralAnnotator"/>
51
52     <!-- Inspections -->
53     <localInspection language="JSON" shortName="JsonStandardCompliance" key="name.standard.compliance.inspection"
54                      groupKey="name.json.inspection.group" enabledByDefault="true" level="ERROR"
55                      bundle="com.intellij.json.JsonBundle"
56                      implementationClass="com.intellij.json.codeinsight.JsonStandardComplianceInspection"/>
57
58     <lang.elementManipulator forClass="com.intellij.json.psi.JsonStringLiteral"
59                              implementationClass="com.intellij.json.psi.JsonStringLiteralManipulator"/>
60   </extensions>
61
62
63   <extensionPoints>
64     <extensionPoint qualifiedName="com.intellij.json.jsonStandardComplianceProvider"
65                     interface="com.intellij.json.codeinsight.JsonStandardComplianceProvider"/>
66   </extensionPoints>
67
68 </idea-plugin>