KQA-2652: extend Driver SDK's DaemonCodeAnalyzer and editor API

(cherry picked from commit 316dfd627891ae1f2515d3d2fadefa1343daf38e)

IJ-MR-196764

GitOrigin-RevId: dfb4fd73bbf42b41c62e97565b0921183bd18e59
This commit is contained in:
Leonid Sandal
2026-03-24 19:26:32 +00:00
committed by intellij-monorepo-bot
parent a69259f959
commit e76e7333fb
2 changed files with 11 additions and 0 deletions
@@ -50,6 +50,7 @@ interface HighlightInfoType {
@Remote("com.intellij.openapi.editor.colors.TextAttributesKey")
interface TextAttributesKey {
fun compareTo(key: TextAttributesKey): Int
fun getExternalName(): String
}
@Remote("com.intellij.codeInsight.daemon.LineMarkerInfo")
@@ -44,6 +44,7 @@ interface RangeHighlighter {
fun getStartOffset(): Int
fun getEndOffset(): Int
fun getTextAttributes(): TextAttributes?
fun getTextAttributesKey(): TextAttributesKey?
}
@Remote("com.intellij.openapi.editor.VisualPosition")
@@ -99,6 +100,7 @@ interface InlayModel {
fun getInlineElementsInRange(startOffset: Int, endOffset: Int): List<Inlay>
fun getBlockElementsInRange(startOffset: Int, endOffset: Int): List<Inlay>
fun getAfterLineEndElementsForLogicalLine(logicalLine: Int): List<Inlay>
fun getAfterLineEndElementsInRange(startOffset: Int, endOffset: Int): List<Inlay>
}
@Remote("com.intellij.openapi.editor.Inlay")
@@ -123,6 +125,14 @@ interface DeclarativeInlayRenderer {
fun getPresentationList(): InlayPresentationList
}
@Remote("com.intellij.ui.SimpleColoredText")
interface SimpleColoredText
@Remote("com.intellij.xdebugger.impl.inline.InlineDebugRenderer")
interface InlineDebugRenderer {
fun getPresentation(): SimpleColoredText?
}
@Remote("com.intellij.codeInsight.daemon.impl.HintRenderer")
interface HintRenderer {
fun getText(): String