tree: 57c6f555e28cd2d50b6f3e1d6d093c66629435b2 [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. google-login-as/
  9. google-samples/
  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.