| <?xml version="1.0" encoding="ISO-8859-1" ?> | |
| <idea-plugin> | |
| <!-- Plugin name --> | |
| <id>XPathView</id> | |
| <name>XPathView + XSLT</name> | |
| <category>HTML and XML</category> | |
| <!-- Description --> | |
| <description><![CDATA[ | |
| Provides a possibility to evaluate XPath expressions against any XML document | |
| opened in IDEA. It can also generate and show an XPath expression that matches the current node. | |
| <p> | |
| Adds syntax highlighting, analysis, completion, navigation and refactoring of XPath | |
| expressions and named templates for XSLT documents.</p> | |
| ]]> | |
| </description> | |
| <vendor>JetBrains</vendor> | |
| <depends>com.intellij.modules.xml</depends> | |
| <resource-bundle>messages.XPathBundle</resource-bundle> | |
| <!-- wasn't sure if the plugin manager correctly handles dependent plugins --> | |
| <!--<depends>XPathLanguage</depends>--> | |
| <extensionPoints> | |
| <!-- XPath Language --> | |
| <extensionPoint name="xpath.contextProviderExtension" interface="org.intellij.lang.xpath.context.ContextProviderExtension"/> | |
| <extensionPoint name="xpath.functionProvider" interface="org.intellij.lang.xpath.context.functions.XPathFunctionProvider"/> | |
| <!-- XSLT Support --> | |
| <extensionPoint name="xsltRunnerExtension" interface="org.intellij.lang.xpath.xslt.run.XsltRunnerExtension"/> | |
| </extensionPoints> | |
| <extensions defaultExtensionNs="com.intellij"> | |
| <colorSettingsPage implementation="org.intellij.lang.xpath.XPathColorSettingsPage" /> | |
| <configurationType implementation="org.intellij.lang.xpath.xslt.run.XsltRunConfigType" /> | |
| <runConfigurationProducer implementation="org.intellij.lang.xpath.xslt.run.XsltConfigurationProducer" /> | |
| <applicationService | |
| serviceInterface="org.intellij.plugins.xpathView.support.XPathSupport" | |
| serviceImplementation="org.intellij.plugins.xpathView.support.jaxen.XPathSupportImpl" /> | |
| <applicationService serviceImplementation="org.intellij.plugins.xpathView.XPathAppComponent"/> | |
| <applicationService | |
| serviceInterface="org.intellij.lang.xpath.xslt.psi.XsltElementFactory" | |
| serviceImplementation="org.intellij.lang.xpath.xslt.psi.impl.XsltElementFactoryImpl" /> | |
| <projectConfigurable groupId="language" instance="org.intellij.lang.xpath.xslt.associations.impl.FileAssociationsConfigurable" id="xslt.associations" | |
| bundle="messages.XPathBundle" | |
| key="configurable.FileAssociationsConfigurable.display.name" | |
| nonDefaultProject="true" /> | |
| <projectService serviceImplementation="org.intellij.lang.xpath.xslt.associations.impl.FileAssociationsConfigurable$UIState" /> | |
| <projectService serviceImplementation="org.intellij.plugins.xpathView.XPathProjectComponent"/> | |
| <annotator language="XPath" implementationClass="org.intellij.lang.xpath.validation.XPathAnnotator" /> | |
| <lang.parserDefinition language="XPath" implementationClass="org.intellij.lang.xpath.XPathParserDefinition" /> | |
| <lang.braceMatcher language="XPath" implementationClass="org.intellij.lang.xpath.XPathLanguage$XPathPairedBraceMatcher" /> | |
| <lang.findUsagesProvider language="XPath" implementationClass="org.intellij.lang.xpath.XPathLanguage$XPathFindUsagesProvider" /> | |
| <lang.namesValidator language="XPath" implementationClass="org.intellij.lang.xpath.XPathLanguage$XPathNamesValidator" /> | |
| <lang.syntaxHighlighterFactory language="XPath" implementationClass="org.intellij.lang.xpath.XPathLanguage$XPathSyntaxHighlighterFactory" /> | |
| <lang.parserDefinition language="XPath2" implementationClass="org.intellij.lang.xpath.XPath2ParserDefinition" /> | |
| <lang.syntaxHighlighterFactory language="XPath2" implementationClass="org.intellij.lang.xpath.XPath2Language$XPathSyntaxHighlighterFactory" /> | |
| <lang.commenter language="XPath2" implementationClass="org.intellij.lang.xpath.XPath2Language$XPath2Commenter" /> | |
| <codeInsight.parameterInfo language="XPath" implementationClass="org.intellij.lang.xpath.XPathParameterInfoHandler" /> | |
| <localInspection language="XPath" shortName="CheckNodeTest" displayName="Check node test" groupName="XPath" enabledByDefault="true" level="WARNING" | |
| implementationClass="org.intellij.lang.xpath.validation.inspections.CheckNodeTest"/> | |
| <localInspection language="XPath" shortName="ImplicitTypeConversion" displayName="Implicit type conversion" groupName="XPath" enabledByDefault="true" | |
| level="WARNING" implementationClass="org.intellij.lang.xpath.validation.inspections.ImplicitTypeConversion"/> | |
| <localInspection language="XPath" shortName="RedundantTypeConversion" displayName="Redundant type conversion" groupName="XPath" enabledByDefault="true" | |
| level="WARNING" implementationClass="org.intellij.lang.xpath.validation.inspections.RedundantTypeConversion"/> | |
| <localInspection language="XPath" shortName="IndexZeroUsage" displayName="Use of index 0 in XPath predicates" groupName="XPath" enabledByDefault="true" | |
| level="WARNING" implementationClass="org.intellij.lang.xpath.validation.inspections.IndexZeroPredicate"/> | |
| <localInspection language="XPath" shortName="HardwiredNamespacePrefix" displayName="Hardwired namespace prefix" groupName="XPath" enabledByDefault="true" | |
| level="WARNING" implementationClass="org.intellij.lang.xpath.validation.inspections.HardwiredNamespacePrefix"/> | |
| <quoteHandler fileType="XPath" className="org.intellij.lang.xpath.XPathQuoteHandler" /> | |
| <quoteHandler fileType="XPath2" className="org.intellij.lang.xpath.XPathQuoteHandler" /> | |
| <completion.contributor language="XPath" implementationClass="org.intellij.lang.xpath.completion.XPathCompletionContributor" /> | |
| <typedHandler implementation="org.intellij.lang.xpath.XPathTypedHandler"/> | |
| <lookup.charFilter implementation="org.intellij.lang.xpath.completion.XPathCharFilter" /> | |
| <editorActionHandler action="FindNext" implementationClass="org.intellij.plugins.xpathView.XPathAppComponent$FindNextHandler"/> | |
| <editorActionHandler action="FindPrevious" implementationClass="org.intellij.plugins.xpathView.XPathAppComponent$FindPreviousHandler"/> | |
| <applicationService serviceInterface="org.intellij.lang.xpath.xslt.XsltConfig" | |
| serviceImplementation="org.intellij.lang.xpath.xslt.impl.XsltConfigImpl"/> | |
| <fileBasedIndex implementation="org.intellij.lang.xpath.xslt.impl.XsltSymbolIndex" /> | |
| <include.provider implementation="org.intellij.lang.xpath.xslt.impl.XsltIncludeProvider"/> | |
| <usageGroupingRuleProvider implementation="org.intellij.lang.xpath.xslt.impl.XsltStuffProvider" /> | |
| <lang.refactoringSupport language="XPath" implementationClass="org.intellij.lang.xpath.xslt.refactoring.XPathRefactoringSupportProvider" /> | |
| <lang.refactoringSupport language="XML" implementationClass="org.intellij.lang.xpath.xslt.refactoring.XsltRefactoringSupportProvider" /> | |
| <lang.formatter language="XML" implementationClass="org.intellij.lang.xpath.xslt.impl.XsltFormattingModelBuilder"/> | |
| <inlineActionHandler implementation="org.intellij.lang.xpath.xslt.refactoring.VariableInlineHandler" /> | |
| <extendWordSelectionHandler implementation="org.intellij.lang.xpath.XPathStringLiteralSelectioner"/> | |
| <localInspection language="XML" shortName="XsltUnusedDeclaration" displayName="Unused variable/parameter" groupName="XSLT" enabledByDefault="true" | |
| level="WARNING" implementationClass="org.intellij.lang.xpath.xslt.validation.inspections.UnusedElementInspection"/> | |
| <localInspection language="XML" shortName="XsltTemplateInvocation" displayName="Template invocation problems" groupName="XSLT" enabledByDefault="true" | |
| level="ERROR" implementationClass="org.intellij.lang.xpath.xslt.validation.inspections.TemplateInvocationInspection"/> | |
| <localInspection language="XML" shortName="XsltDeclarations" displayName="Declaration problems" groupName="XSLT" enabledByDefault="true" level="ERROR" | |
| implementationClass="org.intellij.lang.xpath.xslt.validation.inspections.XsltDeclarationInspection"/> | |
| <localInspection language="XML" shortName="XsltVariableShadowing" displayName="Variable shadowing" groupName="XSLT" enabledByDefault="true" | |
| level="WARNING" implementationClass="org.intellij.lang.xpath.xslt.validation.inspections.VariableShadowingInspection"/> | |
| <intentionAction> | |
| <className>org.intellij.lang.xpath.xslt.intentions.AddOptionalArgumentsIntention</className> | |
| <category>XSLT</category> | |
| </intentionAction> | |
| <intentionAction> | |
| <className>org.intellij.lang.xpath.xslt.intentions.ConvertIfToChooseIntention</className> | |
| <category>XSLT</category> | |
| </intentionAction> | |
| <intentionAction> | |
| <className>org.intellij.lang.xpath.xslt.intentions.ReplaceWithXslAttribute</className> | |
| <category>XSLT</category> | |
| </intentionAction> | |
| <intentionAction> | |
| <className>org.intellij.lang.xpath.xslt.intentions.InlineXslAttribute</className> | |
| <category>XSLT</category> | |
| </intentionAction> | |
| <applicationConfigurable groupId="tools" instance="org.intellij.plugins.xpathView.XPathConfigurable" id="xpath.settings" | |
| bundle="messages.XPathBundle" | |
| key="configurable.XPathConfigurable.display.name"/> | |
| <applicationConfigurable groupId="language" instance="org.intellij.lang.xpath.xslt.impl.XsltConfigImpl$UIImpl" id="settings.xslt" | |
| bundle="messages.XPathBundle" | |
| key="configurable.UIImpl.display.name"/> | |
| <fileIconPatcher implementation="org.intellij.lang.xpath.xslt.impl.XsltIconProvider"/> | |
| <gotoSymbolContributor implementation="org.intellij.lang.xpath.xslt.impl.XsltChooseByNameContributor"/> | |
| <annotator language="XPath" implementationClass="org.intellij.lang.xpath.xslt.validation.XsltAnnotator"/> | |
| <annotator language="XML" implementationClass="org.intellij.lang.xpath.xslt.validation.XsltXmlAnnotator"/> | |
| <xml.nsColorProvider implementation="org.intellij.lang.xpath.xslt.validation.XsltNSColorProvider"/> | |
| <colorSettingsPage implementation="org.intellij.lang.xpath.xslt.validation.XsltColorPage"/> | |
| <lang.documentationProvider language="XML" implementationClass="org.intellij.lang.xpath.xslt.impl.XsltDocumentationProvider"/> | |
| <lang.documentationProvider language="XPath" implementationClass="org.intellij.lang.xpath.xslt.impl.XsltDocumentationProvider"/> | |
| <!-- | |
| <daemon.changeLocalityDetector implementation="org.intellij.lang.xpath.xslt.impl.XsltChangeLocalityDetector" /> | |
| --> | |
| <multiHostInjector implementation="org.intellij.lang.xpath.xslt.impl.XPathLanguageInjector"/> | |
| <treeStructureProvider implementation="org.intellij.lang.xpath.xslt.impl.XsltTreeStructureProvider"/> | |
| <psi.referenceContributor language="XML" implementation="org.intellij.lang.xpath.xslt.impl.XsltReferenceContributor$XML"/> | |
| <psi.referenceContributor language="XPath" implementation="org.intellij.lang.xpath.xslt.impl.XsltReferenceContributor$XPath"/> | |
| <standardResourceProvider implementation="org.intellij.lang.xpath.xslt.impl.XsltResourceProvider"/> | |
| <defaultLiveTemplates file="liveTemplates/xsl.xml"/> | |
| <implicitUsageProvider implementation="org.intellij.lang.xpath.xslt.impl.XsltImplicitUsagesProvider" /> | |
| <renameInputValidator implementation="org.intellij.lang.xpath.xslt.impl.XsltRenameInputValidator"/> | |
| <lang.findUsagesProvider language="$XSLT" implementationClass="org.intellij.lang.xpath.xslt.psi.impl.XsltFindUsagesProvider"/> | |
| <lang.refactoringSupport language="$XSLT" implementationClass="org.intellij.lang.xpath.xslt.psi.impl.XsltRefactoringSupportProvider"/> | |
| <projectService serviceInterface="org.intellij.lang.xpath.xslt.associations.FileAssociationsManager" | |
| serviceImplementation="org.intellij.lang.xpath.xslt.associations.impl.FileAssociationsManagerImpl"/> | |
| </extensions> | |
| <extensions defaultExtensionNs="XPathView"> | |
| <xpath.functionProvider implementation="org.intellij.plugins.xpathView.support.jaxen.extensions.XPathFunctionProviderImpl" /> | |
| <xpath.contextProviderExtension implementation="org.intellij.lang.xpath.xslt.context.Xslt1ContextProviderExtension" /> | |
| <xpath.contextProviderExtension implementation="org.intellij.lang.xpath.xslt.context.Xslt2ContextProviderExtension" /> | |
| </extensions> | |
| <!-- Component's actions --> | |
| <actions> | |
| <action id="XPathView.Actions.Evaluate" class="org.intellij.plugins.xpathView.XPathEvalAction" | |
| text="Evaluate XPath..." | |
| description="Evaluate an XPath expression and highlight the result in the XML-Document"> | |
| <keyboard-shortcut first-keystroke="control alt X" second-keystroke="E" keymap="$default" /> | |
| </action> | |
| <action id="XPathView.Actions.ShowPath" class="org.intellij.plugins.xpathView.ShowXPathAction" | |
| text="Show unique XPath" description="Show XPath expression that matches the current node"> | |
| <keyboard-shortcut first-keystroke="control alt X" second-keystroke="P" keymap="$default" /> | |
| </action> | |
| <action id="XPathView.Actions.FindByExpression" class="org.intellij.plugins.xpathView.search.FindByXPathAction" | |
| text="Find by XPath..." description="Find Files by XPath Expression"> | |
| <keyboard-shortcut first-keystroke="control alt X" second-keystroke="F" keymap="$default" /> | |
| </action> | |
| <!-- Toolbar --> | |
| <!--<reference id="XPathView.Actions.Evaluate">--> | |
| <!--<add-to-group group-id="MainToolBar" anchor="before" relative-to-action="HelpTopics" />--> | |
| <!--</reference>--> | |
| <group id="XPathView.MainMenu.Search"> | |
| <separator /> | |
| <reference id="XPathView.Actions.Evaluate" /> | |
| <reference id="XPathView.Actions.FindByExpression" /> | |
| <add-to-group group-id="FindMenuGroup" anchor="after" relative-to-action="StructuralSearchActions" /> | |
| </group> | |
| <reference id="XPathView.Actions.ShowPath"> | |
| <add-to-group group-id="CodeEditorViewGroup" anchor="after" relative-to-action="ShowErrorDescription" /> | |
| </reference> | |
| <!-- Editor Popup --> | |
| <group id="XPathView.EditorPopup" text="XPath Actions"> | |
| <separator /> | |
| <reference id="XPathView.Actions.Evaluate" /> | |
| <reference id="XPathView.Actions.ShowPath" /> | |
| <add-to-group group-id="EditorPopupMenu" anchor="after" relative-to-action="RefactoringMenu" /> | |
| </group> | |
| <group id="XPathView.XSLT.Associations" popup="true" | |
| class="org.intellij.lang.xpath.xslt.associations.impl.AssociationsGroup" text="File Associations" > | |
| <add-to-group group-id="XPathView.EditorPopup" anchor="last" | |
| relative-to-action="XPathView.Actions.ShowPathDescription" /> | |
| <add-to-group group-id="ProjectViewPopupMenu" anchor="after" relative-to-action="AddAntBuildFile" /> | |
| </group> | |
| </actions> | |
| </idea-plugin> |