mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 09:47:50 +08:00
[md] Link to plugin sample
This commit is contained in:
parent
2a4a91b205
commit
1c56a9fc76
@ -1,6 +1,10 @@
|
|||||||
Basics of working with the editor
|
Basics of working with the editor
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
### [Sample plugin] (https://github.com/JetBrains/intellij-sdk/tree/master/code_samples/editor_basics)
|
||||||
|
|
||||||
|
----------
|
||||||
|
|
||||||
Classes for working with editor, e.g. to manipulate the caret, get an access to a text selection, or modify the text, currently represented in the editor, are located in
|
Classes for working with editor, e.g. to manipulate the caret, get an access to a text selection, or modify the text, currently represented in the editor, are located in
|
||||||
[editor-ui-api] (https://github.com/JetBrains/intellij-community/tree/master/platform/editor-ui-api)
|
[editor-ui-api] (https://github.com/JetBrains/intellij-community/tree/master/platform/editor-ui-api)
|
||||||
package. Note, that this part of the API allows to operate only with text.
|
package. Note, that this part of the API allows to operate only with text.
|
||||||
@ -93,21 +97,24 @@ It's only method
|
|||||||
|
|
||||||
returns an object corresponding to the specified data identifier. Some of the supported
|
returns an object corresponding to the specified data identifier. Some of the supported
|
||||||
data identifiers are defined in class
|
data identifiers are defined in class
|
||||||
[PlatformDataKeys.java](https://github.com/JetBrains/intellij-community/blob/master/platform/platform-api/src/com/intellij/openapi/actionSystem/PlatformDataKeys.java)
|
[PlatformDataKeys.java] (https://github.com/JetBrains/intellij-community/blob/master/platform/platform-api/src/com/intellij/openapi/actionSystem/PlatformDataKeys.java)
|
||||||
|
|
||||||
|
|
||||||
#AnActionEvent
|
#AnActionEvent
|
||||||
**TODO**
|
[AnActionEvent.java] (https://github.com/JetBrains/intellij-community/blob/master/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/AnActionEvent.java)
|
||||||
|
contains the information necessary to execute or update an
|
||||||
|
[action] (https://github.com/JetBrains/intellij-community/blob/master/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/AnAction.java),
|
||||||
|
such as
|
||||||
|
[DataContext] (https://github.com/JetBrains/intellij-community/blob/master/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/DataContext.java),
|
||||||
|
[Project] (https://github.com/JetBrains/intellij-community/blob/master/platform/core-api/src/com/intellij/openapi/project/Project.java),
|
||||||
|
and other instances related to the action execution environment.
|
||||||
|
|
||||||
----------------
|
Link-----------
|
||||||
|
|
||||||
See also
|
See also
|
||||||
[CommonDataKeys.java] (https://github.com/JetBrains/intellij-community/blob/master/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/CommonDataKeys.java),
|
[CommonDataKeys.java] (https://github.com/JetBrains/intellij-community/blob/master/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/CommonDataKeys.java),
|
||||||
[DataKey.java] (https://github.com/JetBrains/intellij-community/blob/master/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/DataKey.java)
|
[DataKey.java] (https://github.com/JetBrains/intellij-community/blob/master/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/DataKey.java)
|
||||||
|
|
||||||
**TODO**
|
|
||||||
Link to architectural overview and threading issues
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user