Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Android Studio/ IntelliJ custom search scope without classes with usual *.xml files from an Android project
Edit->Find->Find in path
Custom -> ... -> Add scope
search pattern:
<component name="DependencyValidationManager"><scope name="PekaJavaWithoutRWithStrings" pattern="file:*java&&!file:**&&!file:*||file:*strings.xml||file:*dimes.xml||file:*styles.xml||file:*attrs.xml||file:*colors.xml||file:*layout/*xml&&!file:*build/*xml"/></component>

This comment has been minimized.

Copy link

@GrishinSergey GrishinSergey commented Nov 10, 2018

how to import (or create own) scope in android studio. v3.2.1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment