[ChatGPT Chinese version is here, this is what you want! 】

ChatGPT Chinese version is here, this is what you want!

written in front

When I was browsing the forum recently, I found a good plug-in-Vscode ChatGPT. According to reports, this is a Chinese plug-in for ChatGPT. After installing the plug-in for the first time, the domestic mode can be automatically enabled, and you can start using it without any operation, and you don’t need to enable a proxy at this time.

Don't you want to try such an easy-to-use "artifact"? The following is the relevant introduction, and interested friends can learn more about it.
ChatGPT has been in the limelight these days. As a question-and-answer language model, its biggest advantage is that it can answer programming-related questions and even reply to a piece of code.
Although some people pointed out that the code generated by ChatGPT has errors, programmers are still very interested in its ability to write code and find bugs. Someone even built a ChatGPT plugin for VScode.

VS Code has always been a productivity artifact in the minds of developers. It is free, open source and cross-platform, and is known as the best IDE.
Using VS Code and ChatGPT together, users will get programming guidance from AI, including code explanation, bug finding and other functions.

The ChatGPT Chinese version VSCode plug-in has been downloaded more than 800,000 times so far, and has received wide acclaim.
insert image description here

how to use

Since ChatGPT is not open to mainland China, many mainland netizens cannot use their mobile phone numbers to register OpenAI accounts. However, the author said that the login-free, registration-free, and agent-free versions of VSCode ChatGPT are now online, and updates are provided in the VSCode plug-in store.

Developers can use the plug-in simply by installing it, and then switch the current mode to China through the "ChatGPT: Switch Domestic/Foreign Mode Command" to realize login-free, registration-free, and proxy-free.
insert image description here
The author also mentioned that the IDE plug-ins of the JetBrains family are under development, and the plug-ins of other IDEs may not be available in a short time.

For the specific usage method, the author gives an operation guide on the download interface:

First, right-click in the editor to trigger the menu.
insert image description here

Currently supported code features include:

ChatGPT: Please enter a question: Ask ChatGPT directly.
ChatGPT: Add test code: Add test code for the currently selected code or the current file.
ChatGPT: Why is there a problem with the code (you need to select the error report at the same time): When asking about the problem in the code, you need to select the error report together.
ChatGPT: Optimize this part of the code: optimize or refactor the currently selected code, or the current file.
ChatGPT: Explain this part of the code: explain the currently selected code, or the current file.
ChatGPT: Execute custom command 1: Add a custom command 1 for the selected code or the current file, which can be executed directly after adding.
ChatGPT: Execute custom command 2: Add a custom command 2 for the selected code or the current file, which can be executed directly after adding.

After executing a command, an interactive window will pop up in the sidebar:

All follow-up questions, answers, exceptions. will be displayed in this window.

You can directly enter questions in the input box at the bottom of the interactive window to ask ChatGPT.

You can also execute the previous command to query the code.
insert image description here

Even if the person who wrote the code has forgotten what the comment wants to express, at least ChatGPT can still remember:

insert image description here

In addition, his context function is also very strong

For example, at the beginning, I asked ChartGPT to optimize a piece of code for me. After a while, there was a problem in the middle, and then I asked it to add comments to the previously optimized code, and it miraculously helped me complete the addition.

insert image description here

The creative ability has also become powerful due to the access of the latest GPT:

insert image description here

write at the end

However, the number of characters that this plug-in can give you is limited. If you want to use it for a long time, you have to go to the official website to get the ApiKey, or buy character packs in the Moss store below. This simplifies the operation process for students who want to experience ChartGPT. But sometimes, you have to pay some money to experience new technologies. After all, other companies also need to operate funds~~
insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/weixin_45541762/article/details/130328646