m.sciachero
(Mirko Sciachero)
September 5, 2026, 4:14am
1
Hello,
I try to upgrade my plugin to 2026.2 and I found an issue with inlay in Diff View, mainly I cannot find anymore the code to control inlays:
import com.intellij.collaboration.ui.VerticalListPanel
import com.intellij.collaboration.ui.codereview.diff.DiffLineLocation
import com.intellij.collaboration.ui.codereview.diff.viewer.DiffMapped
import com.intellij.collaboration.ui.codereview.diff.viewer.controlInlaysIn
import com.intellij.collaboration.ui.codereview.editor.CodeReviewComponentInlayRenderer
all these import are missing, and I cannot find which module is providing them (if any).
Have you a simple example or documentation on how insert inlay in Diffs?
Thanks a lot.
Mirko
P.S. the validation pass even if the module is missing, something to check
m.sciachero
(Mirko Sciachero)
September 5, 2026, 5:21am
2
Ok, I think I found the main reason, Intellj 2026 has a more fine grain module configuration, so I have to add several modules to have everything compiling:
<module name="intellij.vcs.git.shared"/>
<module name="intellij.vcs.git.backend"/>
<module name="intellij.platform.vcs.dvcs"/>
<module name="intellij.platform.vcs.dvcs.impl.shared"/>
<module name="intellij.platform.vcs.impl.shared"/>
<module name="intellij.platform.vcs.log.impl"/>
<module name="intellij.platform.vcs.log"/>
<module name="intellij.platform.collaborationTools"/>
<module name="intellij.platform.vcs.log.graph"/>
Also I’m not sure if module resolution has changed, because I have to add also the dependencies I’m using in order to compile.
But in any case after some digging I was able to find what I need.