diff --git a/CHANGELOG.md b/CHANGELOG.md index 4febe629..8cf91d3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ * rework Privacy icon. * support `(.)log(s)`folders. * support `.noai` files (which tell the AI Assistant plugin to block AI features for the containing project). +* support [Detekt](https://detekt.dev/docs/introduction/configurations/) files ending by `detekt-config.yml` or `detekt.yml` (I may try to pick the configured Detekt filename from the `build.gradle(.kts)` file later). * starting from 2024, I will occasionally send some [coupons](https://github.com/jonathanlermitage/intellij-extra-icons-plugin/blob/master/docs/LICENSE_FAQ.md#i-received-a-coupon-for-a-free-license-how-does-it-work) for Free licenses on [Twitter](https://twitter.com/JLermitage) and [Bluesky](https://bsky.app/profile/jonathanlermitage.bsky.social). Stay tuned. ## 2023.4.2 (2023/12/03) diff --git a/src/main/java/lermitage/intellij/extra/icons/ExtraIconProvider.java b/src/main/java/lermitage/intellij/extra/icons/ExtraIconProvider.java index 57992c87..e5a009b7 100644 --- a/src/main/java/lermitage/intellij/extra/icons/ExtraIconProvider.java +++ b/src/main/java/lermitage/intellij/extra/icons/ExtraIconProvider.java @@ -780,6 +780,8 @@ public static List allModels() { // TODO move to SequencedCollection once .eq("cerebro").mayEnd(".conf"), ofFile("cerebro1", "extra-icons/elastic-cerebro.svg", "Cerebro: start by 'cerebro' and end by '.conf'") .start("cerebro").end(".conf"), + ofFile("detekt", "extra-icons/detekt.svg", "Detekt: end by 'detekt-config.yml' or 'detekt.yml'") + .end("detekt-config.yml", "detekt.yml"), ofFile("faq", "extra-icons/faq.svg", "FAQ: faq(.md,.txt,.adoc,.rst)") .eq("faq").mayEnd(TXT) .altIcons("extra-icons/faq_alt.svg", "extra-icons/faq_alt2.svg", diff --git a/src/main/resources/extra-icons/detekt.svg b/src/main/resources/extra-icons/detekt.svg new file mode 100644 index 00000000..84cb3741 --- /dev/null +++ b/src/main/resources/extra-icons/detekt.svg @@ -0,0 +1 @@ + \ No newline at end of file