tree: f16500fbe85771abb2f32ad49214a07bf799f746 [path history] [tgz]
  1. android/
  2. android-compose-ide-plugin/
  3. android-ndk/
  4. declarative-gradle-focus/
  5. design-tools/
  6. directaccess/
  7. firebase/
  8. gemini/
  9. google-cloud-tools-as/
  10. targetsdkversion-upgrade-assistant/
  11. test-recorder/
  12. url-assistant/
  13. BUILD
  14. README.md
  15. searchable_options_test.py
  16. 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.