How to create a dynamic scope based on a branch diff on JetBrains (IntelliJ IDEA / WebStorm etc..)

Install the Git Scope plugin.

Click on its tab (it normally shows on the right, but you can click on its tab gear icon and move it), and set the branch you want to compare to (e.g. “develop”).

After a few seconds, you can click on “Git scope” in the “Project” tab. It should…