Skip to content

Commit

Permalink
release 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
0ut0fm1nd committed Nov 10, 2023
1 parent 021d758 commit 4154739
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 25 deletions.
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ VSCode中执行`Install from VSIX...`命令,选择`codeshell-vscode-${VERSION_

注意:不同的模型运行环境可以在插件中进行配置。对于[CodeShell-7B-Chat-int4](https://huggingface.co/WisdomShell/CodeShell-7B-Chat-int4)模型,您可以在`Code Shell: Run Env For LLMs`选项中选择`CPU with llama.cpp`选项。而对于[CodeShell-7B](https://huggingface.co/WisdomShell/CodeShell-7B)[CodeShell-7B-Chat](https://huggingface.co/WisdomShell/CodeShell-7B-Chat)模型,应选择`GPU with TGI toolkit`选项。

<p align="center">
<img src="https://resource.zsmarter.cn/appdata/codeshell-vscode/screenshots/docs_settings_new.png" width="800"/>
<p>
![插件配置截图](https://raw.githubusercontent.com/WisdomShell/codeshell-vscode/main/assets/readme/docs_settings_new.png)

## 功能特性

Expand All @@ -138,9 +136,7 @@ VSCode中执行`Install from VSIX...`命令,选择`codeshell-vscode-${VERSION_

当插件提供代码建议时,建议内容以灰色显示在编辑器光标位置,您可以按下Tab键来接受该建议,或者继续输入以忽略该建议。

<p align="center">
<img src="https://resource.zsmarter.cn/appdata/codeshell-vscode/screenshots/docs_completion.png" width="800"/>
<p>
![代码建议截图](https://raw.githubusercontent.com/WisdomShell/codeshell-vscode/main/assets/readme/docs_completion.png)

### 2. 代码辅助

Expand All @@ -150,9 +146,7 @@ VSCode中执行`Install from VSIX...`命令,选择`codeshell-vscode-${VERSION_

在vscode侧边栏中打开插件问答界面,在编辑器中选中一段代码,在鼠标右键CodeShell菜单中选择对应的功能项,插件将在问答界面中给出相应的答复。

<p align="center">
<img src="https://resource.zsmarter.cn/appdata/codeshell-vscode/screenshots/docs_assistants.png" width="800"/>
<p>
![代码辅助截图](https://raw.githubusercontent.com/WisdomShell/codeshell-vscode/main/assets/readme/docs_assistants.png)

### 3. 智能问答

Expand All @@ -163,9 +157,7 @@ VSCode中执行`Install from VSIX...`命令,选择`codeshell-vscode-${VERSION_
- 对任一问题,可重新获取回答
- 在回答过程中,可以打断

<p align="center">
<img src="https://resource.zsmarter.cn/appdata/codeshell-vscode/screenshots/docs_chat.png" width="800"/>
<p>
![智能问答截图](https://raw.githubusercontent.com/WisdomShell/codeshell-vscode/main/assets/readme/docs_chat.png)

在问答界面的代码块中,可以点击复制按钮复制该代码块,也可点击插入按钮将该代码块内容插入到编辑器光标处。

Expand Down
16 changes: 4 additions & 12 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,7 @@ For a more detailed explanation of the parameters, please refer to the [text-gen

Note: Different model runtime environments can be configured within the plugin. For the [CodeShell-7B-Chat-int4](https://huggingface.co/WisdomShell/CodeShell-7B-Chat-int4) model, you can choose the `CPU with llama.cpp"`option in the `Code Shell: Run Env For LLMs` menu. However, for the [CodeShell-7B](https://huggingface.co/WisdomShell/CodeShell-7B) and [CodeShell-7B-Chat](https://huggingface.co/WisdomShell/CodeShell-7B-Chat) models, you should select the `GPU with TGI toolkit` option.

<p align="center">
<img src="https://resource.zsmarter.cn/appdata/codeshell-vscode/screenshots/docs_settings_new.png" width="800"/>
<p>
![插件配置截图](https://raw.githubusercontent.com/WisdomShell/codeshell-vscode/main/assets/readme/docs_settings_new.png)

## Features

Expand All @@ -132,9 +130,7 @@ During the coding process, code completion suggestions can automatically trigger

When the plugin provides code suggestions, the suggested content appears in gray at the editor's cursor position. You can press the Tab key to accept the suggestion or continue typing to ignore it.

<p align="center">
<img src="https://resource.zsmarter.cn/appdata/codeshell-vscode/screenshots/docs_completion.png" width="800"/>
<p>
![代码建议截图](https://raw.githubusercontent.com/WisdomShell/codeshell-vscode/main/assets/readme/docs_completion.png)

### 2. Code Assistance

Expand All @@ -144,9 +140,7 @@ When the plugin provides code suggestions, the suggested content appears in gray

In the VSCode sidebar, open the plugin's Q&A interface. Select a portion of code in the editor, right-click to access the CodeShell menu, and choose the corresponding function. The plugin will provide relevant responses in the Q&A interface.

<p align="center">
<img src="https://resource.zsmarter.cn/appdata/codeshell-vscode/screenshots/docs_assistants.png" width="800"/>
<p>
![代码辅助截图](https://raw.githubusercontent.com/WisdomShell/codeshell-vscode/main/assets/readme/docs_assistants.png)

### 3. Code Q&A

Expand All @@ -157,9 +151,7 @@ In the VSCode sidebar, open the plugin's Q&A interface. Select a portion of code
- Request Fresh Responses for Any Question
- Interrupt During the Answering Process

<p align="center">
<img src="https://resource.zsmarter.cn/appdata/codeshell-vscode/screenshots/docs_chat.png" width="800"/>
<p>
![智能问答截图](https://raw.githubusercontent.com/WisdomShell/codeshell-vscode/main/assets/readme/docs_chat.png)

Within the Q&A interface's code block, you can click the copy button to copy the code block or use the insert button to insert the code block's content at the editor's cursor location.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "CodeShell VSCode Extension",
"description": "Coding with CodeShell LLM",
"publisher": "WisdomShell",
"version": "0.0.4",
"version": "0.0.5",
"icon": "assets/logo.png",
"keywords": [
"code-suggestion",
Expand Down

0 comments on commit 4154739

Please sign in to comment.