Skip to content

Commit a1521c8

Browse files
committed
docs: 更新使用说明
1 parent db3dcf2 commit a1521c8

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- **API 调用**:上传 CVB 文件并调用 DeepSeek API,获取重构建议。
1111
- **版本管理**:支持多个次重构的历史记录,CVB 在本地可选应用和回滚。
1212
- **多语言支持**:支持 C++、Python、Lua、TypeScript 等多种编程语言。
13-
- **右键菜单支持**:在资源管理器中,右键点击 `.cvb` 文件时,会显示一个上下文菜单,包含 `applyThisCvb``uploadThisCvb``analyzeThisCvb` 三个选项。
13+
- **右键菜单支持**:在资源管理器中,右键点击 `.cvb` 文件时,会显示一个上下文菜单,包含 `applyThisCvb``redesignThisCvb``analyzeThisCvb` 三个选项。
1414
- **CVB 文件视图**:在 VSCode 的侧边栏中,新增了一个 `CVB Actions` 视图,用于显示当前工作区中的所有 `.cvb` 文件,并支持通过点击文件来打开或操作它们。
1515

1616
除了直接通过指令操作,
@@ -64,7 +64,7 @@ File -> Preferences -> Settings(文件 -> 首选项 -> 设置)
6464
给这些文件取一个版本名,比如输入 "准备重构多进程-初始版本"。
6565
会在本地 `.CodeReDesignWorkSpace` 目录下生成一个时间戳+版本名.cvb 的文件,可以使用 markdown 格式查看。
6666

67-
2. **codeReDesign.uploadCvb**(上传 CVB 文件)
67+
2. **codeReDesign.redesignCvb**(上传 CVB 文件)
6868
选择一个本地已经打包好的 CVB 格式文件,上传到 DeepSeek。
6969
输入你希望重构的提示词,比如 "把这些代码里的多进程重构为多线程,注意要把进程间通讯的标准输出输入句柄改为无锁队列"。
7070
然后 DeepSeek 就会开始帮你重构,你可以在输出框看到中间过程。
@@ -75,13 +75,13 @@ File -> Preferences -> Settings(文件 -> 首选项 -> 设置)
7575
将这个 CVB 格式文件展开覆盖本地文件。
7676

7777
4. **codeReDesign.stopOperation**(中断处理)
78-
中断正在执行的 `uploadCvb` 操作
78+
中断正在执行的DeepSeek操作
7979

8080
5. **codeReDesign.analyzeCode**(分析代码)
8181
选择一个 CVB 文件并输入分析需求,DeepSeek 会分析代码并返回分析结果。
8282

83-
6. **codeReDesign.uploadThisCvb**(上传当前 CVB 文件)
84-
在资源管理器中右键点击 `.cvb` 文件,选择 `Upload This CVB`,上传当前选中的 CVB 文件并调用 API。
83+
6. **codeReDesign.redesignThisCvb**(上传当前 CVB 文件)
84+
在资源管理器中右键点击 `.cvb` 文件,选择 `redesign This CVB`,上传当前选中的 CVB 文件并调用 API。
8585

8686
7. **codeReDesign.applyThisCvb**(应用当前 CVB 文件)
8787
在资源管理器中右键点击 `.cvb` 文件,选择 `Apply This CVB`,将当前选中的 CVB 文件应用到工作区。
@@ -93,17 +93,17 @@ File -> Preferences -> Settings(文件 -> 首选项 -> 设置)
9393

9494
# CodeReDesign
9595

96-
**CodeReDesign** is a VSCode extension that works with the DeepSeek API to help developers refactor and redesign code more efficiently. By providing file selection, code merging, DeepSeek API upload and download, and local code application, CodeReDesign makes the refactoring process simpler and smoother.
96+
**CodeReDesign** is a VSCode extension that works with the DeepSeek API to help developers refactor and redesign code more efficiently. By providing file selection, code merging, DeepSeek API redesign and download, and local code application, CodeReDesign makes the refactoring process simpler and smoother.
9797

9898
---
9999

100100
## Features
101101

102102
- **File Selector**: Supports selecting multiple source files in the current working directory and packages them into a unified markdown-like file (CVB format).
103-
- **API Calls**: Uploads the CVB file and calls DeepSeek API to get refactoring suggestions.
103+
- **API Calls**: redesigns the CVB file and calls DeepSeek API to get refactoring suggestions.
104104
- **Version Management**: Supports multiple refactoring history records, CVB can be applied and rolled back locally.
105105
- **Multi-language Support**: Supports multiple programming languages like C++, Python, Lua, TypeScript, etc.
106-
- **Right-click Menu Support**: Right-click on a `.cvb` file in the explorer to show a context menu with options to `Apply This CVB`, `Upload This CVB`, and `Analyze This CVB`.
106+
- **Right-click Menu Support**: Right-click on a `.cvb` file in the explorer to show a context menu with options to `Apply This CVB`, `redesign This CVB`, and `Analyze This CVB`.
107107
- **CVB File View**: A new `CVB Actions` view in the sidebar displays all `.cvb` files in the current workspace and allows you to open or operate on them by clicking.
108108

109109
## How to Use
@@ -143,8 +143,8 @@ Press `ctrl + shift + p` to open the Command Palette, where the following comman
143143
Name the version, such as "Preparing to refactor multi-process to initial version".
144144
A `.cvb` file with a timestamp and version name will be generated in the `.CodeReDesignWorkSpace` directory, which can be viewed in markdown format.
145145

146-
2. **codeReDesign.uploadCvb** (Upload CVB file)
147-
Select a locally packaged CVB file and upload it to DeepSeek.
146+
2. **codeReDesign.redesignCvb** (redesign CVB file)
147+
Select a locally packaged CVB file and redesign it to DeepSeek.
148148
Enter your refactoring request, such as "Refactor the multi-process code to multi-threading, make sure to change the inter-process communication stdout and stdin handles to lock-free queues".
149149
DeepSeek will start the refactoring process, and you can see the intermediate steps in the output.
150150
After the process finishes, a new CVB file will be created locally.
@@ -153,14 +153,14 @@ Press `ctrl + shift + p` to open the Command Palette, where the following comman
153153
If you review the changes and find them satisfactory, you can use this command.
154154
It will unpack and overwrite the local files with the changes from the CVB file.
155155

156-
4. **codeReDesign.stopOperation** (Stop Upload CVB)
157-
Stop the ongoing upload operation.
156+
4. **codeReDesign.stopOperation** (Stop redesign CVB)
157+
Stop the ongoing deepseek operation.
158158

159159
5. **codeReDesign.analyzeCode** (Analyze Code)
160160
Select a CVB file and enter your analysis request, DeepSeek will analyze the code and return the results.
161161

162-
6. **codeReDesign.uploadThisCvb** (Upload This CVB)
163-
Right-click on a `.cvb` file in the explorer and select `Upload This CVB` to upload the selected CVB file and call the API.
162+
6. **codeReDesign.redesignThisCvb** (redesign This CVB)
163+
Right-click on a `.cvb` file in the explorer and select `redesign This CVB` to redesign the selected CVB file and call the API.
164164

165165
7. **codeReDesign.applyThisCvb** (Apply This CVB)
166166
Right-click on a `.cvb` file in the explorer and select `Apply This CVB` to apply the selected CVB file to the workspace.

0 commit comments

Comments
 (0)