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