# \#kotlin

**URL:** https://platform.jetbrains.com/tag/kotlin/42.md

[Latest](https://platform.jetbrains.com/latest.md) · [Categories](https://platform.jetbrains.com/categories.md) · [Tags](https://platform.jetbrains.com/tags.md)

---

## [How to perform analysis based on the entire project or module in K2 mode?](https://platform.jetbrains.com/t/how-to-perform-analysis-based-on-the-entire-project-or-module-in-k2-mode/4473)

<div class="topic-metadata">

**Author:** [@xjpnull](https://platform.jetbrains.com/u/xjpnull)\
**Replies:** 1\
**Last updated:** [June 22, 2026, 1:07pm UTC](https://platform.jetbrains.com/t/how-to-perform-analysis-based-on-the-entire-project-or-module-in-k2-mode/4473 "2026-06-22T13:07:50Z")

</div>

The k2 mode of the Kotlin plugin seems to focus on analyzing single files. So how do we perform analysis based on the entire project? For example, how do we find all methods or classes annotated with a specific annotat…

---

## [Internal APIs Warning - my first plugin](https://platform.jetbrains.com/t/internal-apis-warning-my-first-plugin/4083)

<div class="topic-metadata">

**Author:** [@mohamed\_shemees](https://platform.jetbrains.com/u/mohamed_shemees)\
**Replies:** 6\
**Last updated:** [April 21, 2026, 10:28am UTC](https://platform.jetbrains.com/t/internal-apis-warning-my-first-plugin/4083 "2026-04-21T10:28:35Z")

</div>

i wanna get things clear , i got Ignored Internal Api Usages , what does Ignored mean? also these function ToolWindowFactory.getAnchor() (2)ToolWindowFactory.getIcon() (2)ToolWindowFactory.manage(...) are from extendi…

---

## [How can I make Highlighting run in real time with AI in Rider plugin development?](https://platform.jetbrains.com/t/how-can-i-make-highlighting-run-in-real-time-with-ai-in-rider-plugin-development/2157)

<div class="topic-metadata">

**Author:** [@liliiezys](https://platform.jetbrains.com/u/liliiezys)\
**Replies:** 0\
**Last updated:** [July 2, 2025, 5:08pm UTC](https://platform.jetbrains.com/t/how-can-i-make-highlighting-run-in-real-time-with-ai-in-rider-plugin-development/2157 "2025-07-02T17:08:17Z")

</div>

Our Rider plugin currently has a working AI Analyzer (with Mistral AI API) that can scan the current source code file or the entire project for code style mistakes (the code styles can be defined manually by the user or …

---

## [Kotlin compiler embeded and Intellij platform don't work together?](https://platform.jetbrains.com/t/kotlin-compiler-embeded-and-intellij-platform-dont-work-together/1892)

<div class="topic-metadata">

**Author:** [@ralphkw1](https://platform.jetbrains.com/u/ralphkw1)\
**Replies:** 1\
**Last updated:** [June 3, 2025, 5:59pm UTC](https://platform.jetbrains.com/t/kotlin-compiler-embeded-and-intellij-platform-dont-work-together/1892 "2025-06-03T17:59:49Z")

</div>

I’m developing a platform plugin and I am including ktfmt jar (v0.54). I also think ktfmt uses org.jetbrains.kotlin:kotlin-compiler-embeddable which I believe is causing this issue. Anyway I put together a small example,…

---

## [Plugin compatibility with K2 mode](https://platform.jetbrains.com/t/plugin-compatibility-with-k2-mode/1756)

<div class="topic-metadata">

**Author:** [@thomas.delhomenie](https://platform.jetbrains.com/u/thomas.delhomenie)\
**Replies:** 0\
**Last updated:** [May 20, 2025, 7:04am UTC](https://platform.jetbrains.com/t/plugin-compatibility-with-k2-mode/1756 "2025-05-20T07:04:07Z")

</div>

Hello, I am using IntelliJ IDEA 2025.1 EAP and I noticed several issues with my plugin when enabling the K2 mode: the plugin is not flagged as compatible with K2 mode, but when I enable the K2 mode the plugin is stil…

---

## [Is there a UAST approach to match top level functions via their FQ name](https://platform.jetbrains.com/t/is-there-a-uast-approach-to-match-top-level-functions-via-their-fq-name/1137)

<div class="topic-metadata">

**Author:** [@bric3](https://platform.jetbrains.com/u/bric3)\
**Replies:** 2\
**Last updated:** [April 1, 2025, 8:28pm UTC](https://platform.jetbrains.com/t/is-there-a-uast-approach-to-match-top-level-functions-via-their-fq-name/1137 "2025-04-01T20:28:06Z")

</div>

UAST’s CallMatcher have basically two main way to match a call, the instance CallMatcher::instanceCall and static CallMatcher::staticCall call matchers. But they have some shortcoming when it’s about matching top level …

---

## [What is the best approach to extract a kotlin multiline string with trimIndent as a string expression](https://platform.jetbrains.com/t/what-is-the-best-approach-to-extract-a-kotlin-multiline-string-with-trimindent-as-a-string-expression/1126)

<div class="topic-metadata">

**Author:** [@bric3](https://platform.jetbrains.com/u/bric3)\
**Replies:** 3\
**Last updated:** [March 27, 2025, 4:50pm UTC](https://platform.jetbrains.com/t/what-is-the-best-approach-to-extract-a-kotlin-multiline-string-with-trimindent-as-a-string-expression/1126 "2025-03-27T16:50:36Z")

</div>

I’m trying to grab the content of multiline string that use trim functions as a simple KtExpression (with properly indented / trimmed string). As far as I got, there’s no easy way even with UAST. The best I could use is…
