File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed
code_samples/gradle_plugin_demo/src/main/java
tutorials/custom_language_support Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 2
2
import com .intellij .openapi .project .Project ;
3
3
import com .intellij .openapi .ui .Messages ;
4
4
5
- /**
6
- * Created by breandan on 11/25/2015.
7
- */
8
5
public class HelloAction extends AnAction {
9
6
public HelloAction () {
10
7
super ("Hello" );
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Annotator helps highlight and annotate any code based on specific rules.
9
9
In this tutorial we will annotate usages of our properties within Java code.
10
10
Let's consider a literal which starts with * "simple:"* as a usage of our property.
11
11
12
- ```
12
+ ``` java
13
13
{% include / code_samples/ simple_language_plugin/ src/ com/ simpleplugin/ SimpleAnnotator . java % }
14
14
```
15
15
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public static PsiElement getNameIdentifier(SimpleProperty element) {
51
51
### 10.3. Define an element factory
52
52
53
53
``` java
54
- {% include / code_samples/ simpleplugin/ psi/ impl / SimpleElementFactory . java % }
54
+ {% include / code_samples/ simple_language_plugin / src / com / simpleplugin/ psi/ SimpleElementFactory . java % }
55
55
```
56
56
57
57
### 10.4. Update grammar and regenerate the parser
You can’t perform that action at this time.
0 commit comments