mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
* build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/project_wizard Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/editor_basics Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/tool_window Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/facet_basics Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/action_basics Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/settings Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/live_templates Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/project_model Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/kotlin_demo Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij in /code_samples/module Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump org.jetbrains.intellij Bumps org.jetbrains.intellij from 1.0 to 1.1.2. --- updated-dependencies: - dependency-name: org.jetbrains.intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): bump actions/github-script from 3 to 4.0.2 Bumps [actions/github-script](https://github.com/actions/github-script) from 3 to 4.0.2. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v3...v4.0.2) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com>
Editor Sample Project 
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