mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 02:07:50 +08:00
[annotator] fix highlighting syntax
This commit is contained in:
parent
a0f75b1377
commit
997890a2aa
@ -14,10 +14,10 @@ The first instance is a valid use of the `simple:` prefix followed by the Simple
|
||||
The second is a valid prefix but an invalid key, as noted by the test `<error>` [highlighting](/basics/testing_plugins/testing_highlighting.md).
|
||||
```java
|
||||
public class Test {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("simple:website");
|
||||
System.out.println("simple:<error descr="Unresolved property">websit"</error>);
|
||||
}
|
||||
public static void main(String[] args) {
|
||||
System.out.println("simple:website");
|
||||
System.out.println("simple:<error descr="Unresolved property">websit</error>");
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user