mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
[md] syntax highlighting check
This commit is contained in:
parent
07c90669b3
commit
0907034ff3
@ -19,8 +19,10 @@ To create an action we need derive
|
|||||||
[AnAction.java] (https://github.com/JetBrains/intellij-community/blob/master/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/AnAction.java)
|
[AnAction.java] (https://github.com/JetBrains/intellij-community/blob/master/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/AnAction.java)
|
||||||
class.
|
class.
|
||||||
|
|
||||||
public class EditorIllustration extends AnAction {
|
```java
|
||||||
}
|
public class EditorIllustration extends AnAction {
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
###Registering an action
|
###Registering an action
|
||||||
To register the action we should add a corresponding attribute to the *<actions>* section of the plugin configuration file
|
To register the action we should add a corresponding attribute to the *<actions>* section of the plugin configuration file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user