Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,20 @@

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 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.
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.

You can find the plugin on [IntelliJ marketplace](https://plugins.jetbrains.com/plugin/19715-html-attribute-folder).

## Compatibility

Manually verified with these products…

- IntelliJ IDEA Community Edition 2024.3+
- IntelliJ IDEA Ultimate 2024.3+
- PhpStorm 2024.3+
- WebStorm 2024.3+
- IntelliJ IDEA Community Edition 2025.1+
- IntelliJ IDEA Ultimate 2025.1+
- PhpStorm 2025.1+
- WebStorm 2025.1+

## ❤️🙏 Love & Thanks

Expand Down
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fun properties(key: String) = providers.gradleProperty(key)
plugins {
id("java")
id("org.jetbrains.kotlin.jvm") version "2.0.10"
id("org.jetbrains.intellij.platform") version "2.0.1"
id("org.jetbrains.intellij.platform") version "2.5.0"
}

group = properties("pluginGroup").get()
Expand All @@ -24,7 +24,6 @@ dependencies {
val type = properties("platformType").get()
val version = properties("platformVersion").get()
create(type, version)
instrumentationTools()
}
}

Expand Down
9 changes: 5 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ org.gradle.caching=true

pluginName=html-attribute-folder
pluginGroup=dev.zbinski
pluginVersion=1.1.3
platformVersion=2024.3
pluginVersion=1.2.0
platformVersion=2025.1
# @see https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-types.html#IntelliJPlatformType
platformType=IC
pluginSinceBuild=231
pluginUntilBuild=243.*
# @see https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html#platformVersions
pluginSinceBuild=251
pluginUntilBuild=251.*
javaVersion=21
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
10 changes: 6 additions & 4 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->
<name>HTML Attribute Folder</name>

<version>1.1.3</version>
<version>1.2.0</version>

<!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->
<vendor email="dawid@zbinski.dev" url="https://zbinski.dev">Dawid Zbiński</vendor>
Expand All @@ -17,10 +17,11 @@
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 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.
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.
Expand All @@ -42,6 +43,7 @@
<lang.foldingBuilder language="TypeScript JSX" implementationClass="dev.zbinski.htmlattributefolder.AttributeFolder"/>
<lang.foldingBuilder language="JavaScript" implementationClass="dev.zbinski.htmlattributefolder.AttributeFolder"/>
<lang.foldingBuilder language="JavaScript JSX" implementationClass="dev.zbinski.htmlattributefolder.AttributeFolder"/>
<lang.foldingBuilder language="RHTML" implementationClass="dev.zbinski.htmlattributefolder.AttributeFolder"/>

<projectConfigurable parentId="tools"
nonDefaultProject="true"
Expand Down