Video: Plugin Model v2 Fundamentals and Overview

Hi everyone,

There is a new video with an overview of the Plugin Model v2.

In addition, a new section about Modular Plugins is available in the IntelliJ SDK Docs.

In v2, a plugin is now split into explicit content modules — each with its own descriptor, dependencies, and classloader.
It leads to explicit module isolation, better plugin reload, improved dependency handling, and is a prerequisite for Remote Development support.

3 Likes

Will module com.intellij.modules.lang be available for Remote Development(JetBrains Gateway/JetBrains Client/Code With Me Guest/etc)? because my plugin Rainbow Brackets depends on it.

Currently I’m using those APIs

  1. com.intellij.lang.annotation.Annotator
  2. com.intellij.ui.EditorNotificationProvider
  3. com.intellij.openapi.ui.DialogWrapper
  4. com.intellij.codeHighlighting.TextEditorHighlightingPass
  5. com.intellij.openapi.editor.markup.CustomHighlighterRenderer
  6. com.intellij.codeInsight.daemon.RainbowVisitor
  7. com.intellij.codeInsight.daemon.impl.HighlightVisitor
  8. com.intellij.openapi.editor.Editor

Or it there some alternative way to do code highlighting without com.intellij.modules.lang?

is C/C+​+​ for JetBrains Client and the plugins listed below already the model v2?

1 Like

These plugins and similar are going to be dropped soon, as we completely merge them with a corresponding language plugin. They were used in the past as an intermediate solution only.