summaryrefslogtreecommitdiffstats
path: root/sd-plugin/src/main/resources/META-INF/plugin.xml
blob: dd268bec16f3555aabebc53581f38deb09bce4b5 (plain) (blame)
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
46
47
48
49
50
51
52
53
<!-- Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<idea-plugin>
    <id>org.intellij.sdk.language</id>
    <name>SdReader</name>

    <!-- Text to display as company information on Preferences/Settings | Plugin page -->
    <vendor>Yahoo</vendor>

    <!-- Product and plugin compatibility requirements -->
    <depends>com.intellij.java</depends>
    <depends>com.intellij.modules.platform</depends>

    <!-- Text to display as description on Preferences/Settings | Plugin page -->
    <description><![CDATA[
    <p>Support for reading Vespa's SD files.</p>
    <p>Features:</p>
    <ul>
    <li>Structure View</li>
    <li>Find Usages</li>
    <li>Call Hierarchy (for functions/macros)</li>
    <li>Go To Declaration</li>
    <li>Go to Symbol</li>
    <li>Refactoring (Only for uses of the same implementation)</li>
    <li>Syntax Highlighting</li>
    <li>Commenter- enable turning lines into a comment with "Code -> Comment with line comment"</li>
    </ul>
    <p>Find more information on Vespa's SD files <a href="https://docs.vespa.ai/en/reference/schema-reference.html">here</a>.</p>
    ]]></description>
    
    <!-- Extension points defined by the plugin -->
    <extensions defaultExtensionNs="com.intellij">
        <fileType name="Sd File" implementationClass="org.intellij.sdk.language.SdFileType" fieldName="INSTANCE"
                  language="Sd" extensions="sd"/>
        <lang.parserDefinition language="Sd" implementationClass="org.intellij.sdk.language.parser.SdParserDefinition"/>
        <lang.syntaxHighlighterFactory language="Sd" implementationClass="org.intellij.sdk.language.SdSyntaxHighlighterFactory"/>
        <completion.contributor language="Sd" implementationClass="org.intellij.sdk.language.SdCompletionContributor"/>

        <lang.findUsagesProvider language="Sd" implementationClass="org.intellij.sdk.language.findUsages.SdFindUsagesProvider"/>
        <findUsagesHandlerFactory implementation="org.intellij.sdk.language.findUsages.SdFindUsagesHandlerFactory"/>
        <fileStructureGroupRuleProvider implementation="org.intellij.sdk.language.findUsages.SdRankProfileGroupingRuleProvider"/>
        <fileStructureGroupRuleProvider implementation="org.intellij.sdk.language.findUsages.SdDocumentSummaryGroupingRuleProvider"/>
        <elementDescriptionProvider implementation="org.intellij.sdk.language.psi.SdElementDescriptionProvider"/>

        <lang.psiStructureViewFactory language="Sd" implementationClass="org.intellij.sdk.language.structure.SdStructureViewFactory"/>
        <codeStyleSettingsProvider implementation="org.intellij.sdk.language.SdCodeStyleSettingsProvider"/>
        <langCodeStyleSettingsProvider implementation="org.intellij.sdk.language.SdLanguageCodeStyleSettingsProvider"/>
        <lang.commenter language="Sd" implementationClass="org.intellij.sdk.language.SdCommenter"/>
        <lang.refactoringSupport language="Sd" implementationClass="org.intellij.sdk.language.SdRefactoringSupportProvider"/>
        <gotoSymbolContributor implementation="org.intellij.sdk.language.SdChooseByNameContributor"/>
        <callHierarchyProvider language="Sd" implementationClass="org.intellij.sdk.language.hierarchy.SdCallHierarchyProvider"/>
    </extensions>
    
</idea-plugin>