mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 01:37:51 +08:00
The first step in migrating the documentation to Upsource. This has the added benefit of tying us to a specific version in case of code drift. Future migrations will be required in order to use method links (when supported). Search: \(https://github.com/JetBrains/intellij-community/blob/master/(.+\.java)\) Replace: \(https://upsource.jetbrains.com/idea-community/file/1731d054af4ca27aa827c03929e27eeb0e6a8366/$1\)
2.0 KiB
2.0 KiB
title |
---|
Basics of working with the Editor |
This tutorial will lead you through the series of steps showing how to work with the Editor in IntelliJ IDEA, how access and modify text it contains, and how to handle events sent to the Editor.
Note: The described part of the API allows to operate only with text. If you need to access PSI please see PSI Cookbook section.
See also: editor-ui-api package, Editor.java, EditorImpl.java. CommonDataKeys.java, DataKey.java, AnActionEvent, DataContext
Related topics: Action System