Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Similar Code: Add PR Body License Documentation #1396

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/core-abilities/static_code_analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Or be triggered interactively by using the `analyze` tool.

### Find Similar Code

The [`similar code`](https://qodo-merge-docs.qodo.ai/tools/similar_code/) tool retrieves the most similar code components from inside the organization's codebase, or from open-source code.
The [`similar code`](https://qodo-merge-docs.qodo.ai/tools/similar_code/) tool retrieves the most similar code components from inside the organization's codebase or from open-source code, including details about the license associated with each repository.

For example:

Expand Down
3 changes: 2 additions & 1 deletion docs/docs/tools/similar_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ It can be invoked automatically from the analyze table, can be accessed by:
/analyze
```
Choose the components you want to find similar code for, and click on the `similar` checkbox.

![analyze similar](https://codium.ai/images/pr_agent/analyze_similar.png){width=768}

If you are looking to search for similar code in the organization's codebase, you can click on the `Organization` checkbox, and it will invoke a new search command just for the organization's codebase.
You can search for similar code either within the organization's codebase or globally, which includes open-source repositories. Each result will include the relevant code components along with their associated license details.

![similar code global](https://codium.ai/images/pr_agent/similar_code_global.png){width=768}

Expand Down
Loading