mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 17:57:53 +08:00
Fix broken links and remove author template
This commit is contained in:
parent
10140f33d4
commit
b8fb86ac63
@ -2,9 +2,6 @@ import com.intellij.openapi.actionSystem.*;
|
|||||||
import com.intellij.openapi.project.Project;
|
import com.intellij.openapi.project.Project;
|
||||||
import com.intellij.openapi.ui.Messages;
|
import com.intellij.openapi.ui.Messages;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by breandan on 11/25/2015.
|
|
||||||
*/
|
|
||||||
public class HelloAction extends AnAction {
|
public class HelloAction extends AnAction {
|
||||||
public HelloAction() {
|
public HelloAction() {
|
||||||
super("Hello");
|
super("Hello");
|
||||||
|
@ -9,7 +9,7 @@ Annotator helps highlight and annotate any code based on specific rules.
|
|||||||
In this tutorial we will annotate usages of our properties within Java code.
|
In this tutorial we will annotate usages of our properties within Java code.
|
||||||
Let's consider a literal which starts with *"simple:"* as a usage of our property.
|
Let's consider a literal which starts with *"simple:"* as a usage of our property.
|
||||||
|
|
||||||
```
|
```java
|
||||||
{% include /code_samples/simple_language_plugin/src/com/simpleplugin/SimpleAnnotator.java %}
|
{% include /code_samples/simple_language_plugin/src/com/simpleplugin/SimpleAnnotator.java %}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ public static PsiElement getNameIdentifier(SimpleProperty element) {
|
|||||||
### 10.3. Define an element factory
|
### 10.3. Define an element factory
|
||||||
|
|
||||||
```java
|
```java
|
||||||
{% include /code_samples/simpleplugin/psi/impl/SimpleElementFactory.java %}
|
{% include /code_samples/simple_language_plugin/src/com/simpleplugin/psi/SimpleElementFactory.java %}
|
||||||
```
|
```
|
||||||
|
|
||||||
### 10.4. Update grammar and regenerate the parser
|
### 10.4. Update grammar and regenerate the parser
|
||||||
|
Loading…
x
Reference in New Issue
Block a user