mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
Merge pull request #8167 from Kilo-Org/docs/code-reviews-local-tabs
docs: update local code reviews to three-tab layout
This commit is contained in:
@@ -36,4 +36,7 @@ exclude = [
|
||||
'^https?://api\.apertis\.ai/v1/?$',
|
||||
# Redirects to authenticated Google Cloud console
|
||||
'^https?://console\.cloud\.google\.com',
|
||||
# Consistently times out in CI
|
||||
'^https?://opncd\.ai',
|
||||
'^https?://zod\.dev/v4/changelog',
|
||||
]
|
||||
|
||||
@@ -56,19 +56,32 @@ Once configured, the Review Agent runs automatically on PR/MR events. For platfo
|
||||
|
||||
Code Reviewer is also available locally. This is valuable for developers who want to review their code before pushing a pull request to their team publicly, or for developers who want reviews and don't need to ship a pull request to GitHub.
|
||||
|
||||
### VS Code
|
||||
{% tabs %}
|
||||
{% tab label="VSCode" %}
|
||||
|
||||
Select 'Review' from the mode dropdown after making local changes, and click 'Send' for AI-powered feedback and suggestions.
|
||||
|
||||

|
||||
|
||||
### CLI
|
||||
|
||||
The CLI provides two commands for local code reviews:
|
||||
Two slash commands are available for local code reviews:
|
||||
|
||||
- **`/local-review`** — Review all changes on your current branch vs the base branch
|
||||
- **`/local-review-uncommitted`** — Review uncommitted changes (staged + unstaged)
|
||||
|
||||
{% /tab %}
|
||||
{% tab label="CLI" %}
|
||||
|
||||
Two slash commands are available for local code reviews:
|
||||
|
||||
- **`/local-review`** — Review all changes on your current branch vs the base branch
|
||||
- **`/local-review-uncommitted`** — Review uncommitted changes (staged + unstaged)
|
||||
|
||||
{% /tab %}
|
||||
{% tab label="VSCode (Legacy)" %}
|
||||
|
||||
Select 'Review' from the mode dropdown after making local changes, and click 'Send' for AI-powered feedback and suggestions.
|
||||
|
||||
{% image src="/docs/img/code-reviewer/review-mode.png" alt="VS Code interface showing Review option in mode dropdown" width="800" caption="Review Mode" /%}
|
||||
|
||||
{% /tab %}
|
||||
{% /tabs %}
|
||||
|
||||
## How Code Reviews Work
|
||||
|
||||
When a pull request or merge request is opened or updated:
|
||||
|
||||
Reference in New Issue
Block a user