Skip to content

Commit b9807f9

Browse files
authored
Merge pull request #12 from Flyrell/features/2025x
feat(compat): Support for RHTML and ERB templates and platform-series 2025
2 parents 49a6492 + 21a0101 commit b9807f9

File tree

5 files changed

+20
-19
lines changed

5 files changed

+20
-19
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,20 @@
44

55
Annoyed with some html attributes and their length?
66

7-
This simple and lightweight plugin will help you fold them, so you don't need to see them anymore. Any
8-
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
9-
to fold
10-
the items by default, placeholder for folded items, and how the folding looks like.
7+
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
8+
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
9+
to fold the items by default, placeholder for folded items, and how the folding looks like.
1110

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

1413
## Compatibility
1514

1615
Manually verified with these products…
1716

18-
- IntelliJ IDEA Community Edition 2024.3+
19-
- IntelliJ IDEA Ultimate 2024.3+
20-
- PhpStorm 2024.3+
21-
- WebStorm 2024.3+
17+
- IntelliJ IDEA Community Edition 2025.1+
18+
- IntelliJ IDEA Ultimate 2025.1+
19+
- PhpStorm 2025.1+
20+
- WebStorm 2025.1+
2221

2322
## ❤️🙏 Love & Thanks
2423

build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ fun properties(key: String) = providers.gradleProperty(key)
55
plugins {
66
id("java")
77
id("org.jetbrains.kotlin.jvm") version "2.0.10"
8-
id("org.jetbrains.intellij.platform") version "2.0.1"
8+
id("org.jetbrains.intellij.platform") version "2.5.0"
99
}
1010

1111
group = properties("pluginGroup").get()
@@ -24,7 +24,6 @@ dependencies {
2424
val type = properties("platformType").get()
2525
val version = properties("platformVersion").get()
2626
create(type, version)
27-
instrumentationTools()
2827
}
2928
}
3029

gradle.properties

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ org.gradle.caching=true
77

88
pluginName=html-attribute-folder
99
pluginGroup=dev.zbinski
10-
pluginVersion=1.1.3
11-
platformVersion=2024.3
10+
pluginVersion=1.2.0
11+
platformVersion=2025.1
1212
# @see https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-types.html#IntelliJPlatformType
1313
platformType=IC
14-
pluginSinceBuild=231
15-
pluginUntilBuild=243.*
14+
# @see https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html#platformVersions
15+
pluginSinceBuild=251
16+
pluginUntilBuild=251.*
1617
javaVersion=21
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/resources/META-INF/plugin.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-name -->
88
<name>HTML Attribute Folder</name>
99

10-
<version>1.1.3</version>
10+
<version>1.2.0</version>
1111

1212
<!-- A displayed Vendor name or Organization ID displayed on the Plugins Page. -->
1313
<vendor email="dawid@zbinski.dev" url="https://zbinski.dev">Dawid Zbiński</vendor>
@@ -17,10 +17,11 @@
1717
Guidelines: https://plugins.jetbrains.com/docs/marketplace/plugin-overview-page.html#plugin-description -->
1818
<description><![CDATA[
1919
Annoyed with some html attributes and their length?
20+
2021
This simple and lightweight plugin will help you fold them, so you don't need to see them anymore.
21-
Any template written in JSX, XML, HTML, XHTML and DTD is supported by the plugin.
22-
The plugin will not edit your real code in any way, and you can choose
23-
whether to fold the items by default, placeholder for folded items, and how the folding looks like.
22+
Any template written in RHTML (Ruby HTML), ERB (Embedded Ruby), JSX, XML, HTML, XHTML and DTD is supported by the
23+
plugin. The plugin will not edit your real code in any way, and you can choose whether to fold the items by default,
24+
placeholder for folded items, and how the folding looks like.
2425
]]></description>
2526

2627
<!-- Product and plugin compatibility requirements.
@@ -42,6 +43,7 @@
4243
<lang.foldingBuilder language="TypeScript JSX" implementationClass="dev.zbinski.htmlattributefolder.AttributeFolder"/>
4344
<lang.foldingBuilder language="JavaScript" implementationClass="dev.zbinski.htmlattributefolder.AttributeFolder"/>
4445
<lang.foldingBuilder language="JavaScript JSX" implementationClass="dev.zbinski.htmlattributefolder.AttributeFolder"/>
46+
<lang.foldingBuilder language="RHTML" implementationClass="dev.zbinski.htmlattributefolder.AttributeFolder"/>
4547

4648
<projectConfigurable parentId="tools"
4749
nonDefaultProject="true"

0 commit comments

Comments
 (0)