-
Notifications
You must be signed in to change notification settings - Fork 4.4k
docs: Add Chinese README translations #12103
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
Open
vincent067
wants to merge
1
commit into
continuedev:main
Choose a base branch
from
vincent067:docs/chinese-readme
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| <div align="center"></div> | ||
|
|
||
| <h1 align="center">Continue</h1> | ||
|
|
||
| <div align="center"> | ||
|
|
||
| <a target="_blank" href="https://opensource.org/licenses/Apache-2.0" style="background:none"> | ||
| <img src="https://img.shields.io/badge/License-Apache_2.0-blue.svg" style="height: 22px;" /> | ||
| </a> | ||
| <a target="_blank" href="https://docs.continue.dev" style="background:none"> | ||
| <img src="https://img.shields.io/badge/Continue-docs-%23BE1B55.svg?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNiAyNCIgZmlsbD0id2hpdGUiPgogIDxwYXRoIGQ9Ik0yMC41Mjg2IDMuMjY4MTFMMTkuMTUxMiA1LjY1Njk0TDIyLjYzMjggMTEuNjg0OUMyMi42NTgyIDExLjczMDYgMjIuNjczNSAxMS43ODY2IDIyLjY3MzUgMTEuODM3NEMyMi42NzM1IDExLjg4ODIgMjIuNjU4MiAxM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LjAxMDE2NTQgMTQuNTAwN0gyLjc2NDk0TDQuMTQyMzIgMTIuMTExOEgxLjM5MjYzTDAuMDEwMTY1NCAxNC41MDA3Wk02LjI0MTQzIDIuNTQxM0M2LjI2Njg1IDIuNDk1NTYgNi4zMDc1MSAyLjQ1NDkgNi4zNTMyNSAyLjQyOTQ4QzYuMzk5IDIuNDA0MDcgNi40NTQ5IDIuMzg4ODIgNi41MDU3MyAyLjM4ODgySDEzLjQ3NEwxNC44NTE0IDBINC45NTA0NUwwIDguNTc0MzVIMi43NTQ3N0w2LjIzMTI3IDIuNTQ2MzhMNi4yNDE0MyAyLjU0MTNaTTQuMTQyMzIgMTEuNTc4MkwyLjc2NDk0IDkuMTg5MzRIMC4wMTAxNjU0TDEuMzg3NTUgMTEuNTc4Mkg0LjE0MjMyWk02LjUxMDgxIDMuMzEzODZMMy4yOTg2MSA4Ljg3OTNMNC42NzU5OSAxMS4yNjgxTDcuODg4MiA1LjcwMjY4TDYuNTEwODEgMy4zMTM4NlpNMTMuNDc5MSAzLjAwMzgySDcuMDQ0NDhMOC40MjE4NyA1LjMzMjY0SDE0Ljg1NjRMMTMuNDc5MSAzLjAwMzgyWk0xNS4zOTUyIDUuMDgyNkwxNi43Njc1IDIuNjk4ODZMMTUuMzk1MiAwLjMxMDAzOEwxNC4wMTc4IDIuNjkzNzhMMTUuMzk1MiA1LjA4MjZaIi8+Cjwvc3ZnPg==" style="height: 22px;" /> | ||
| </a> | ||
| <a target="_blank" href="https://changelog.continue.dev" style="background:none"> | ||
| <img src="https://img.shields.io/badge/changelog-%96EFF3" style="height: 22px;" /> | ||
| </a> | ||
|
|
||
| <p></p> | ||
|
|
||
| **源代码可控的 AI 代码检查,可在 CI 中强制执行** | ||
|
|
||
| </div> | ||
|
|
||
|  | ||
|
|
||
| ## 快速开始 | ||
|
|
||
| 将以下内容粘贴到你选择的编程助手: | ||
|
|
||
| ``` | ||
| Help me write checks for this codebase: https://continue.dev/walkthrough | ||
| ``` | ||
|
|
||
| ## 工作原理 | ||
|
|
||
| Continue 在每个 Pull Request 上运行自动化代理作为 GitHub 状态检查。每个代理都是仓库中 `.continue/checks/` 目录下的一个 Markdown 文件。代码检查通过显示绿色,发现问题则显示红色并提供建议的 diff。以下是一个执行安全审查的示例: | ||
|
|
||
| ```yaml | ||
| --- | ||
| name: 安全审查 | ||
| description: 审查 PR 中的基础安全漏洞 | ||
| --- | ||
| 审查此 PR 并检查: | ||
| - 没有硬编码的密钥或 API 密钥 | ||
| - 所有新的 API 端点都有输入验证 | ||
| - 错误响应使用标准错误格式 | ||
| ``` | ||
|
|
||
| ## 安装 CLI | ||
|
|
||
| AI 代码检查由开源的 Continue CLI(`cn`)提供支持。 | ||
|
|
||
| **macOS / Linux:** | ||
|
|
||
| ```bash | ||
| curl -fsSL https://raw.githubusercontent.com/continuedev/continue/main/extensions/cli/scripts/install.sh | bash | ||
| ``` | ||
|
|
||
| **Windows (PowerShell):** | ||
|
|
||
| ```powershell | ||
| irm https://raw.githubusercontent.com/continuedev/continue/main/extensions/cli/scripts/install.ps1 | iex | ||
| ``` | ||
|
|
||
| 或使用 npm(需要 Node.js 20+): | ||
|
|
||
| ```bash | ||
| npm i -g @continuedev/cli | ||
| ``` | ||
|
|
||
| 然后运行: | ||
|
|
||
| ```bash | ||
| cn | ||
| ``` | ||
|
|
||
| 寻找 VS Code 扩展?[点击这里](extensions/vscode/README.md)。 | ||
|
|
||
| ## 参与贡献 | ||
|
|
||
| 阅读[贡献指南](https://github.com/continuedev/continue/blob/main/CONTRIBUTING.md),并加入 [GitHub Discussions](https://github.com/continuedev/continue/discussions)。 | ||
|
|
||
| ## 许可证 | ||
|
|
||
| [Apache 2.0 © 2023-2024 Continue Dev, Inc.](./LICENSE) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| <div align="center"> | ||
|
|
||
|  | ||
|
|
||
| <div align="center"> | ||
|
|
||
| <a target="_blank" href="https://opensource.org/licenses/Apache-2.0" style="background:none"> | ||
| <img src="https://img.shields.io/badge/License-Apache_2.0-blue.svg" style="height: 22px;" /> | ||
| </a> | ||
| <a target="_blank" href="https://docs.continue.dev" style="background:none"> | ||
| <img src="https://img.shields.io/badge/Continue-docs-%23BE1B55.svg?logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNiAyNCIgZmlsbD0id2hpdGUiPgogIDxwYXRoIGQ9Ik0yMC41Mjg2IDMuMjY4MTFMMTkuMTUxMiA1LjY1Njk0TDIyLjYzMjggMTEuNjg0OUMyMi42NTgyIDExLjczMDYgMjIuNjczNSAxMS43ODY2IDIyLjY3MzUgMTEuODM3NEMyMi42NzM1IDExLjg4ODIgMjIuNjU4MiAxMS45NDQxIDIyLjYzMjggMTEuOTg5OUwxOS4xNTEyIDE4LjAyMjlMMjAuNTI4NiAyMC40MTE3TDI1LjQ3OTEgMTEuODM3NEwyMC41Mjg2IDMuMjYzMDNWMy4yNjgxMVpNMTguNjE3NiA1LjM0NjlMMTkuOTk1IDIuOTU4MDdIMTcuMjQwMkwxNS44NjI4IDUuMzQ2OUgxOC42MjI3SDE4LjYxNzZaTTE1Ljg1NzcgNS45NjY5N0wxOS4wNzUgMTEuNTMyNEgyMS44Mjk4TDE4LjYxNzYgNS45NjY5N0gxNS44NTc3Wk0xOC42MTc2IDE3LjcxNzlMMjEuODI5OCAxMi4xNDc0SDE5LjA3NUwxNS44NTc3IDE3LjcxNzlIMTguNjE3NlpNMTUuODU3NyAxOC4zMzhMMTcuMjM1MSAyMC43MTY3SDE5Ljk4OTlMMTguNjEyNSAxOC4zMzhIMTUuODUyNkgxNS44NTc3Wk02LjUyMDk4IDIxLjMwNjNDNi40NjUwNyAyMS4zMDYzIDYuNDE0MjQgMjE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c5MSAzLjAwMzgySDcuMDQ0NDhMOC40MjE4NyA1LjMzMjY0SDE0Ljg1NjRMMTMuNDc5MSAzLjAwMzgyWk0xNS4zOTUyIDUuMDgyNkwxNi43Njc1IDIuNjk4ODZMMTUuMzk1MiAwLjMxMDAzOEwxNC4wMTc4IDIuNjkzNzhMMTUuMzk1MiA1LjA4MjZaIi8+Cjwvc3ZnPg==" style="height: 22px;" /> | ||
| </a> | ||
|
|
||
| <p></p> | ||
|
|
||
| </div> | ||
|
|
||
| <h1 align="center">Continue</h1> | ||
|
|
||
| <div align="center"> | ||
|
|
||
| **[可在 CI 中强制执行的源代码可控 AI 代码检查](https://docs.continue.dev)** | ||
|
|
||
| </div> | ||
|
|
||
| ## VS Code 智能代理 | ||
|
|
||
| [智能代理](https://docs.continue.dev/ide-extensions/agent/quick-start) 与 AI 协作完成开发任务 | ||
|
|
||
|  | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: Relative image and license links in the new translated README are broken because they point to paths that don't exist under extensions/vscode/ (e.g., docs/images/* and ./LICENSE). Prompt for AI agents |
||
|
|
||
| ## VS Code 聊天 | ||
|
|
||
| [聊天](https://docs.continue.dev/ide-extensions/chat/quick-start) 询问一般性问题并澄清代码段落 | ||
|
|
||
|  | ||
|
|
||
| ## VS Code 编辑 | ||
|
|
||
| [编辑](https://docs.continue.dev/ide-extensions/edit/quick-start) 无需离开当前文件即可修改代码段落 | ||
|
|
||
|  | ||
|
|
||
| ## VS Code 自动补全 | ||
|
|
||
| [自动补全](https://docs.continue.dev/ide-extensions/autocomplete/quick-start) 在输入时接收内联代码建议 | ||
|
|
||
|  | ||
|
|
||
| </div> | ||
|
|
||
| ## 许可证 | ||
|
|
||
| [Apache 2.0 © 2023-2025 Continue Dev, Inc.](./LICENSE) | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P3: Chinese README links to the English VS Code extension README even though a localized README.zh-CN.md exists, which breaks the localized documentation flow.
Prompt for AI agents