Yann Cébron 69a9b5d8a7
2023.3 release: update pages, extension point lists (#1155)
* 2023.3 release: update pages, extension point lists

* extension_point_list.md: restore deleted heading

* 2023.3 release: code samples

* 23.3 release: final
2023-12-06 17:10:38 +01:00
..
2023-11-29 16:41:15 +01:00
2023-11-29 16:31:01 +01:00
2023-10-05 08:44:45 +02:00
2022-11-28 17:31:11 +01:00
2021-11-08 17:31:16 +01:00

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][sdk: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