Skip to content

Instantly share code, notes, and snippets.

@Geekfish
Created April 21, 2016 10:50
Show Gist options
  • Save Geekfish/23f675ecaf95d82eab736863d36e0bf8 to your computer and use it in GitHub Desktop.
Save Geekfish/23f675ecaf95d82eab736863d36e0bf8 to your computer and use it in GitHub Desktop.
PyCharm Scopes

If you want to include/exclude directories from your search only (not the project), you can add a Custom Scope. This can be found in Preferences -> Appearance & Behavior -> Scopes.

For example, a scope that excludes migrations:

!file[*]:*/migrations/*

And the reverse scope that will only include migrations:

file[*]:*/migrations/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment