VSCode integrates ChatGPT plug-in: ChatGPT Chinese version

Today I will introduce a Chinese version of ChatGPT, a powerful VsCode plug-in

1. Introduction

ChatGPT Chinese version is a ChatGPT plug-in _ supports ChatGPT4.0, and has rich functions.

Features:

1. Support ChatGPT4.0

In the personal center, you can choose the ChatGPT4.0 model, and the answer is more accurate

2. Internet answer

The first chatGPT service that supports networking in the Vscode plug-in, like new bing

3. Unlimited use

After binding the apiKey, you will be able to use various functions of ChatMoss indefinitely (you can buy apiKey from the official website, which is safe and promotes the development of ChatMoss)

4. Set hundreds of roles

5. All-new UI

6. Code Analysis

Select a piece of code, and then you can perform the following operations:

optimize this code

explain this code

Describe possible problems with this piece of code

2. Installation

1. Search "ChatGPT Chinese version" in VsCode extension Li

2. Install

Three, use

1. Set api-key

Contact me without a key, false If you don't have a key, you can use the gifted balance: 1w characters

2. Support ChatGPT4.0 (paid)

You need to go to the store of this plugin to buy the balance, or use the ChatGPT4 key given to you

3. Internet answer

4. Set hundreds of roles

Choose to be an IT expert and generate relevant prompts

answer result

5. All-new UI

6. Code Analysis

Code analysis main package:

optimize this code

explain this code

Describe possible problems with this piece of code

Right click to pop up

object code

Case "showInProgress" :
if (message.showStopButton){
document . getElementById ( "Stop Button" ). class list. remove ( "hide" );
} else {
document . getElementById ( "Stop Button" ). class list. add ( "hidden" );
}
if (message. in progress) {
document . getElementById ( "in progress" ). class list. remove ( "hide" );
document . getElementById ( "question input" ). setAttribute ( "disabled" , true );
document . getElementById ( "Question input button" ). class list. add ( "hidden" );
} else {
document . getElementById ( "in progress" ). class list. add ( "hidden" );
document . getElementById ( "question input" ). removeAttribute ( "Disable" );
document . getElementById ( "Question input button" ). class list. remove ( "hide" );
}
break ;

Optimize this code:

Select the code in the middle, execute and optimize this piece of code

Optimization Results

explain this code

Describe possible problems with this piece of code

experience it yourself

Guess you like

Origin blog.csdn.net/m0_62587287/article/details/130675125