Home  >  Article  >  Technology peripherals  >  ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

PHPz
PHPzforward
2023-04-26 12:22:081338browse

ChatGPT has been in the limelight these days. As a question and answer language model, its biggest advantage is that it can answer questions related to programming and even reply to a piece of code.

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

Although some people point out that the code generated by ChatGPT has errors, programmers are still very interested in its function of writing code and finding bugs. Some people Also built a ChatGPT plug-in 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 most useful IDE.

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

By combining VS Code with ChatGPT, users will receive programming guidance from AI, including code explanations, bug finding and other functions.

ChatGPT Chinese version of the VSCode plug-in has only been online for a few days, and has been downloaded more than 40,000 times and received widespread praise.

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

The developer of this plug-in is Station B UP owner Shi Xi said:

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

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 stated that the login-free, registration-free, and agent-free version of VSCode ChatGPT is now online, and updates are provided in the VSCode plug-in store.

Developers only need to install the plug-in to use it, and then use "ChatGPT: switch domestic/foreign mode command" to switch the current mode to domestic, eliminating the need for login and registration. No agency required.

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

The author also mentioned that plug-ins for the JetBrains family of IDEs are under development, while plug-ins for other IDEs may not be available in a short time.

For specific usage methods, the author provides operating instructions on the download interface:

First, right-click in the editor to trigger the menu.

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

Or use the shortcut key to open the command panel (ctrl shift p or command shift p) and enter "ChatGPT".

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

Currently supported code functions include:

  • ChatGPT: Please enter a question: ask a question directly to ChatGPT
  • ChatGPT: Add test code: add test code for the currently selected code or current file
  • ChatGPT: Why is there a problem with the code (you need to select the error report at the same time): To ask about problems with the code, you need to select the error report as well
  • ChatGPT: Optimize this part of the code: Optimize or reconstruct the currently selected code or current file
  • ChatGPT: Explain this part of the code: Optimize or refactor the currently selected code or current file Explanation
  • ChatGPT: Execute custom command 1: Add a custom command 1 to execute on the selected code or current file. After adding, you can execute it directly
  • ChatGPT: Execute custom command 2: Add a custom command 2 to be executed on the selected code or the current file. After adding, you can execute it directly

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

  • All subsequent questions, answers, and exceptions. will be displayed in this window.
  • You can enter the question directly in the input box at the bottom of the interactive window and ask ChatGPT
  • You can also execute the previous command to modify the code ask.

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

After asking, please wait for a while and the results will automatically appear in the interactive window.

When the query is successful, if the result contains code. Then, we can get the code through these three buttons: "Copy Code", "Insert", and "New".

  • "Copy code": As the name suggests, copy the code to the clipboard
  • "Insert": Copy the current code, Insert into the current file.
  • "New": Insert the current code into a new file.

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

When the query fails: A self-service solution will appear, please follow the solution.

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

User Evaluation

If Copilot previously allowed developers to program for GitHub, then developers can now get used to programming for ChatGPT Programmed.

So someone said: "I've taken a step further from github-oriented programming. Now I don't have to search for copy and paste, and I'm even more useless."

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

From now on, Copilot and ChatGPT will be regarded as the "right-hand man" of programmers.

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

Interestingly, this ChatGPT Chinese version VSCode plug-in was written by the author with the help of ChatGPT.

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

Another developer discovered that although the Chinese version of ChatGPT is not perfect yet, it has a great function - automatically adding comments:

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

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

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

Some people have even started using it to write homework?

ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000

Do you want to try it?

The above is the detailed content of ChatGPT Chinese version VSCode plug-in has only been online for 3 days, and the number of downloads has exceeded 40,000. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:51cto.com. If there is any infringement, please contact admin@php.cn delete