Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 818 Bytes

find_usages_provider.md

File metadata and controls

28 lines (19 loc) · 818 Bytes
title
11. Find Usages Provider

A find usage provider uses a word scanner to build an index of words present in every file. A scanner breaks the text into words, defines the context for each word and passes it to the find usage provider.

11.1. Define a find usages provider

{% include /code_samples/simple_language_plugin/src/com/simpleplugin/SimpleFindUsagesProvider.java %}

11.2. Register the find usages provider

<lang.findUsagesProvider language="Simple" implementationClass="com.simpleplugin.SimpleFindUsagesProvider"/>

11.3. Run the project

Now we can call Find Usages for any property with a reference.

Find Usages

Previous Top Next