You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**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.
97
97
98
98
---
99
99
100
100
## Features
101
101
102
102
-**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.
104
104
-**Version Management**: Supports multiple refactoring history records, CVB can be applied and rolled back locally.
105
105
-**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`.
107
107
-**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.
108
108
109
109
## How to Use
@@ -143,8 +143,8 @@ Press `ctrl + shift + p` to open the Command Palette, where the following comman
143
143
Name the version, such as "Preparing to refactor multi-process to initial version".
144
144
A `.cvb` file with a timestamp and version name will be generated in the `.CodeReDesignWorkSpace` directory, which can be viewed in markdown format.
145
145
146
-
2.**codeReDesign.uploadCvb** (Upload CVB file)
147
-
Select a locally packaged CVB file and upload it to DeepSeek.
Select a locally packaged CVB file and redesign it to DeepSeek.
148
148
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".
149
149
DeepSeek will start the refactoring process, and you can see the intermediate steps in the output.
150
150
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
153
153
If you review the changes and find them satisfactory, you can use this command.
154
154
It will unpack and overwrite the local files with the changes from the CVB file.
0 commit comments