-
Notifications
You must be signed in to change notification settings - Fork 159
JetBrains WebStorm IDE
Lince Mathew edited this page May 25, 2026
·
2 revisions
Here are the instructions on how to trigger a local code review using git-lrc in your WebStorm IDE environment.
- The instructions below only work if you have installed and set up git-lrc on your local machine.
Once your code changes are ready for commit, follow these commands from the WebStorm built-in terminal:
- Stage your changes:
git add .- Commit with a message:
git commit -m "commit message"-
Review automatically starts:
git-lrc will automatically spin up a local server, and you can review the code comments from there.
-
Complete the review:
Once reviewed, you can either continue with the commit or abort it—either from the review UI running on localhost or from the terminal itself.
WebStorm has Git tools integrated into the platform. If you're committing your changes using this option, here's the flow:
- Start the review from terminal:
lrc review --staged(You can also use --skip or --vouch flags)
-
Review in browser:
git-lrc starts, and you can see the review/comments in the localhost web UI. -
Commit from WebStorm:
Once reviewed, add a commit message in the Git tools commit box and click Commit or Commit & Push.