blob: 2bea1dfc5285aba4111c65261d2ba830ed74fd8a [file] [log] [blame] [view]
## Searchable Options
IntelliJ has a post-build process to generate an index for things that can be searched in the UI. They perform
this operation by running the IDE headless with a "traverseUI" argument. All these generated files
are stored in `searchable-options` and we ensure its consistency via tests.
The test `//tools/adt/idea/searchable-options:searchable_options_test` ensures that the bundled xmls are up-to-date.
If this test fails, its `outputs.zip` file contains the new .xmls that need to be updated.
Alternatively, running
```
bazel run //tools/adt/idea/searchable-options:update_searchable_options
```
Will build the studio bundle, and update the source files with the latest index.