Skip to content

Files

editor_basics

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 22, 2023
Apr 28, 2025
Nov 29, 2023
Mar 10, 2025
May 15, 2025
Jul 10, 2023
Apr 28, 2025
Apr 28, 2025
May 5, 2022

Editor Sample Project JetBrains IntelliJ Platform SDK Docs

Reference: Basics of Working with the Editor in IntelliJ SDK Docs

Quickstart

Editor Sample Project provides a TypedHandlerDelegate implementation, which inserts editor_basics on the top of the edited document any time user types a character. In addition, three actions are available in the Editor context menu:

  • Editor Replace Text - replaces the selected text with editor_basics,
  • Editor Add Caret - adds extra caret below the current one,
  • Caret Position - shows message dialog with information about the caret position.

Extension Points

Name Implementation Extension Point Class
com.intellij.typedHandler MyTypedHandler TypedHandlerDelegate

Reference: Plugin Extension Points in IntelliJ SDK Docs

Actions

ID Implementation Base Action Class
EditorBasics.EditorIllustrationAction EditorIllustrationAction AnAction
EditorBasics.EditorHandlerIllustration EditorHandlerIllustration AnAction
EditorBasics.LogicalPositionIllustration EditorAreaIllustration AnAction

Reference: Action System in IntelliJ SDK Docs