Skip to content

Android Studio

Loi Tran edited this page Jul 9, 2023 · 1 revision

Many tips work for Jetbrains family of tools as well.

IntelliJ, Rider, PyCharm, Datagrip, etc.

Scopes

Use scopes to limit the search field for cmd+shift+f. For example the following value:

file:lib//*&&!file[rse]:lib/l10n/venv//*&&!file:*g.dart&&!file:*freezed.dart ||file[rse]:.github/workflows//*||file[rse]:notes//*

Does the following things when searching project with cmd+shift+o.

  • Includes:

    • ./lib/\*
    • ./.github/workflows/\*
    • .notes/\*
  • Excludes:

    • ./lib/l10n/venv/\*
    • files ending with *.g.dart
    • files ending with *.freezed.dart
    • files ending with *.pb.dart

Clone this wiki locally