Yann Cébron 78e459a9d2 221 release (#686)
* 2022.1 release: upsource, topic links

* 2022.1 release: EP lists

* 2022.1 release: code samples build against 2021.2.4, adjust since/until-build

* code samples/pycharm_basics: 2021.2.4

* 2022.1 release: rider_extension_point_list.md

* 2022.1 release: data_grip_extension_point_list.md

* 2022.1 release: set upsource properties

* 2022.1 release: set plugin verifier versions
2022-04-12 16:39:27 +02:00
..
2022-03-14 10:45:00 +01:00
2022-01-12 12:09:34 +01:00
2022-04-12 16:39:27 +02:00
2022-02-08 17:44:47 +01:00
2020-10-15 17:10:31 +02: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