generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathplugin.xml
More file actions
58 lines (49 loc) · 3.53 KB
/
plugin.xml
File metadata and controls
58 lines (49 loc) · 3.53 KB
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
54
55
56
57
58
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
<idea-plugin>
<!-- Unique identifier of the plugin. It should be FQN. It cannot be changed between the plugin versions. -->
<id>dev.zbinski.html-attribute-folder</id>
<!-- Public plugin name should be written in Title Case.
Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->
<name>HTML Attribute Folder</name>
<!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->
<vendor email="[email protected]" url="https://zbinski.dev">Dawid Zbiński</vendor>
<!-- Description of the plugin displayed on the Plugin Page and IDE Plugin Manager.
Simple HTML elements (text formatting, paragraphs, and lists) can be added inside of <![CDATA[ ]]> tag.
Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-description -->
<description><![CDATA[
Annoyed with some html attributes and their length?
This simple and lightweight plugin will help you fold them, so you don't need to see them anymore.
Any template written in RHTML (Ruby HTML), ERB (Embedded Ruby), JSX, XML, HTML, XHTML and DTD is supported by the
plugin. The plugin will not edit your real code in any way, and you can choose whether to fold the items by default,
placeholder for folded items, and how the folding looks like.
]]></description>
<!-- Product and plugin compatibility requirements.
Read more: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html -->
<depends>com.intellij.modules.platform</depends>
<depends>com.intellij.modules.lang</depends>
<depends>com.intellij.modules.xml</depends>
<depends optional="true" config-file="withJavaScript.xml">com.intellij.modules.javascript</depends>
<!-- Extension points defined by the plugin.
Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->
<extensions defaultExtensionNs="com.intellij">
<applicationService serviceImplementation="dev.zbinski.htmlattributefolder.AttributeFolderState"/>
<lang.foldingBuilder language="DTD" implementationClass="dev.zbinski.htmlattributefolder.AttributeFolder"/>
<lang.foldingBuilder language="XML" implementationClass="dev.zbinski.htmlattributefolder.AttributeFolder"/>
<lang.foldingBuilder language="HTML" implementationClass="dev.zbinski.htmlattributefolder.AttributeFolder"/>
<lang.foldingBuilder language="XHTML" implementationClass="dev.zbinski.htmlattributefolder.AttributeFolder"/>
<lang.foldingBuilder language="RHTML" implementationClass="dev.zbinski.htmlattributefolder.AttributeFolder"/>
<projectConfigurable parentId="tools"
nonDefaultProject="true"
displayName="HTML Attribute Folder Settings"
id="dev.zbinski.htmlattributefolder.AttributeFolderSettings"
instance="dev.zbinski.htmlattributefolder.AttributeFolderSettings"/>
</extensions>
<actions>
<action id="dev.zbinski.htmlattributefolder.AttributeFolderMyAction"
class="dev.zbinski.htmlattributefolder.AttributeFolderAction"
text="HTML Attribute Folder"
description="Toggle expand/collapse of all HTML attributes">
<keyboard-shortcut keymap="$default" first-keystroke="ctrl alt e" />
</action>
</actions>
</idea-plugin>