tree: b10cff06836d4a921c397ee9c6b989b039f3e013 [path history] [tgz]
  1. android/
  2. android-compose-ide-plugin/
  3. android-ndk/
  4. design-tools/
  5. directaccess/
  6. firebase/
  7. gemini/
  8. google-cloud-tools-as/
  9. targetsdkversion-upgrade-assistant/
  10. test-recorder/
  11. url-assistant/
  12. BUILD
  13. README.md
  14. searchable_options_test.py
  15. update_searchable_options.py
searchable-options/README.md

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.