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

Elvis Ciotti
Aug 11, 2021

--

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 only show the files changed from the previously selected branch.

Now that the scope is added, you can also perform any operation on this specific scope, e.g. “Code Cleanup” or “Inspect Code”.

--

--

Elvis Ciotti
Elvis Ciotti

Written by Elvis Ciotti

Software Contractor — Java, Spring, k8s, AWS, Javascript @ London - hire me at https://elvisciotti.github.io/

No responses yet