diff --git a/topics/basics/testing_plugins/testing_highlighting.md b/topics/basics/testing_plugins/testing_highlighting.md index 8a48032f8..03ff071f3 100644 --- a/topics/basics/testing_plugins/testing_highlighting.md +++ b/topics/basics/testing_plugins/testing_highlighting.md @@ -11,6 +11,9 @@ To ignore verifying additional highlighting, set parameter `ignoreExtraHighlight Alternatively, you can use `CodeInsightTestFixture.testHighlighting()`, which loads a [testdata file](test_project_and_testdata_directories.md) into the in-memory editor and highlights it as a single operation. +**Example**: +[Custom Language Support Tutorial: Testing Annotator](annotator_test.md) + ### Inspections If you need to test inspections, they must be enabled explicitly. @@ -30,7 +33,7 @@ In its simplest form, the markup looks like this: code to be highlighted ``` -Or, as a more specific example: +A more realistic example, embedded in Java test data to be highlighted: ```xml public int compareTo(Simple other) { @@ -38,6 +41,7 @@ public int