tree: 5aea959b866e4358ef70654cc9c930b11e38d749 [path history] [tgz]
  1. BUILD
  2. content.bzl
  3. p-androidx.compose.plugins.idea-searchableOptions.json
  4. p-com.android.tools.design-searchableOptions.json
  5. p-com.android.tools.gradle.dcl-searchableOptions.json
  6. p-com.android.tools.ndk-searchableOptions.json
  7. p-com.google.gct.directaccess-searchableOptions.json
  8. p-com.google.gct.test.recorder-searchableOptions.json
  9. p-com.google.services.firebase-searchableOptions.json
  10. p-com.google.targetsdkversionassistant-searchableOptions.json
  11. p-com.google.tools.ij.aiplugin-searchableOptions.json
  12. p-com.google.urlassistant-searchableOptions.json
  13. p-org.jetbrains.android-searchableOptions.json
  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.