bfb9373d6c3b9f509a04f672bbf7ed063c506f3f
[idea/community.git] / plugins / properties / src / META-INF / plugin.xml
1 <idea-plugin version="2">
2   <id>com.intellij.properties</id>
3   <name>Properties Support</name>
4   <depends>com.intellij.modules.xml</depends>
5   <description>
6     This plugin enables smart editing of properties files.
7   </description>
8   <vendor logo="/general/ijLogo.png">JetBrains</vendor>
9   <extensions defaultExtensionNs="com.intellij">
10     <errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
11     <applicationService serviceInterface="com.intellij.lang.properties.LastSelectedPropertiesFileStore"
12                         serviceImplementation="com.intellij.lang.properties.LastSelectedPropertiesFileStore"/>
13     <annotator language="Properties" implementationClass="com.intellij.lang.properties.PropertiesAnnotator"/>
14     <completion.contributor language="Properties" implementationClass="com.intellij.lang.properties.PropertiesCompletionContributor"/>
15     <lang.refactoringSupport language="Properties" implementationClass="com.intellij.lang.properties.refactoring.PropertiesRefactoringSupportProvider"/>
16     <lang.documentationProvider language="Properties" implementationClass="com.intellij.lang.properties.PropertiesDocumentationProvider"/>
17     <lang.findUsagesProvider language="Properties"
18                                  implementationClass="com.intellij.lang.properties.findUsages.PropertiesFindUsagesProvider"/>
19     <lang.elementManipulator forClass="com.intellij.lang.properties.psi.impl.PropertyValueImpl"
20                              implementationClass="com.intellij.lang.properties.PropertyValueManipulator"/>
21     <applicationService serviceInterface="com.intellij.lang.properties.structureView.PropertiesSeparatorManager"
22                             serviceImplementation="com.intellij.lang.properties.structureView.PropertiesSeparatorManager"/>
23     <codeInsight.wordCompletionFilter language="Properties"
24                                       implementationClass="com.intellij.lang.properties.PropertiesWordCompletionFilter"/>
25     <lang.psiStructureViewFactory language="Properties"
26                                   implementationClass="com.intellij.lang.properties.structureView.PropertiesStructureViewBuilderFactory"/>
27     <lang.ast.factory language="Properties" implementationClass="com.intellij.lang.properties.psi.impl.PropertiesASTFactory"/>
28     <joinLinesHandler implementation="com.intellij.lang.properties.PropertiesJoinLinesHandler"/>
29     
30     <enterHandlerDelegate implementation="com.intellij.codeInsight.editorActions.enter.EnterInPropertiesFileHandler"/>
31
32     <lang.parserDefinition language="Properties" implementationClass="com.intellij.lang.properties.parsing.PropertiesParserDefinition"/>
33     <renameHandler implementation="com.intellij.lang.properties.refactoring.ResourceBundleRenameHandler"/>
34     <renameHandler implementation="com.intellij.lang.properties.refactoring.ResourceBundleKeyRenameHandler"/>
35     <renameHandler implementation="com.intellij.lang.properties.refactoring.PropertyRenameHandler"/>
36     <stubElementTypeHolder class="com.intellij.lang.properties.parsing.PropertiesElementTypes"/>
37     <renamePsiElementProcessor implementation="com.intellij.lang.properties.refactoring.RenamePropertyProcessor"/>
38     <lang.commenter language="Properties" implementationClass="com.intellij.lang.properties.PropertiesCommenter"/>
39     <stubIndex implementation="com.intellij.lang.properties.psi.PropertyKeyIndex"/>
40     <lang.namesValidator language="Properties" implementationClass="com.intellij.lang.properties.PropertiesNamesValidator"/>
41     <refactoring.safeDeleteProcessor implementation="com.intellij.lang.properties.refactoring.PropertiesSafeDeleteProcessor"/>
42     <refactoring.moveHandler implementation="com.intellij.lang.properties.projectView.ResourceBundleMoveProvider"/>
43     <colorSettingsPage implementation="com.intellij.openapi.options.colors.pages.PropertiesColorsPage"/>
44     <treeStructureProvider implementation="com.intellij.lang.properties.projectView.ResourceBundleGrouper"/>
45     <elementDescriptionProvider implementation="com.intellij.lang.properties.PropertiesDescriptionProvider"/>
46     <fileTypeFactory implementation="com.intellij.lang.properties.PropertiesFileTypeFactory"/>
47     <fileTypeFactory implementation="com.intellij.lang.properties.editor.ResourceBundleEditorProvider" />
48     <referencesSearch implementation="com.intellij.psi.impl.search.PropertyReferenceViaLastWordSearcher"/>
49     <favoriteNodeProvider implementation="com.intellij.ide.favoritesTreeView.ResourcesFavoriteNodeProvider"/>
50
51     <localInspection language="Properties" shortName="UnusedProperty" bundle="messages.PropertiesBundle" key="unused.property.inspection.display.name"
52                      groupKey="properties.files.inspection.group.display.name" enabledByDefault="true" level="WARNING"
53                      implementationClass="com.intellij.lang.properties.UnusedPropertyInspection"/>
54     <globalInspection shortName="DuplicatePropertyInspection" bundle="messages.InspectionsBundle" key="duplicate.property.display.name"
55                       groupKey="group.names.internationalization.issues" enabledByDefault="false" level="WARNING"
56                       implementationClass="com.intellij.codeInspection.duplicatePropertyInspection.DuplicatePropertyInspection"/>
57     <localInspection language="Properties" shortName="TrailingSpacesInProperty" bundle="messages.PropertiesBundle"
58                      key="trail.spaces.property.inspection.display.name" groupKey="properties.files.inspection.group.display.name"
59                      enabledByDefault="true" level="WARNING"
60                      implementationClass="com.intellij.lang.properties.TrailingSpacesInPropertyInspection"/>
61
62     <idIndexer filetype="Properties" implementationClass="com.intellij.psi.impl.cache.impl.idCache.PropertiesIdIndexer"/>
63     <todoIndexer filetype="Properties" implementationClass="com.intellij.psi.impl.cache.impl.idCache.PropertiesTodoIndexer"/>
64
65     <projectService serviceInterface="com.intellij.lang.properties.PropertiesReferenceManager" serviceImplementation="com.intellij.lang.properties.PropertiesReferenceManager"/>
66
67     <fileEditorProvider implementation="com.intellij.lang.properties.editor.ResourceBundleEditorProvider"/>
68     <spellchecker.support language="Properties" implementationClass="com.intellij.lang.properties.spellchecker.PropertiesSpellcheckingStrategy"/>
69
70     <fileBasedIndex implementation="com.intellij.lang.properties.xml.XmlPropertiesIndex"/>
71     <standardResource url="http://java.sun.com/dtd/properties.dtd" path="schemas/properties.dtd"/>
72     <iconProvider implementation="com.intellij.lang.properties.xml.XmlPropertiesIconProvider"/>
73     <psi.referenceContributor language="XML" implementation="com.intellij.lang.properties.xml.XmlPropertiesReferenceContributor"/>
74   </extensions>
75
76   <project-components>
77     <component>
78       <implementation-class>com.intellij.lang.properties.PropertiesFilesManager</implementation-class>
79       <skipForDefaultProject/>
80     </component>
81   </project-components>
82 </idea-plugin>