


vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!
Facing the overnight popularity of ChatGPT, I finally couldn’t resist the temptation and decided to give it a try. However, registration of this thing requires a foreign mobile phone number and scientific Internet access, which blocks many people. Outside the door, this blog will experience the currently popular ChatGPT as well as the instant ChatGPT usage guide that does not require registration and scientific Internet access. Come and try it!
What is ChatGPT?
What exactly is the much-hyped ChatGPT?
OpenAI, an American artificial intelligence company, released a free robot dialogue model ChatGPT (GPT-3.5 series), which for the first time uses the RLHF (reinforcement learning from human feedback) method. The model is currently in the testing phase, and the dialogue and interaction between users and ChatGPT include ordinary chat, information consultation, writing poetry and compositions, modifying codes, etc. ChatGPT, which has such "comprehensive" functions, is called "the most powerful AI (artificial intelligence)" and has been used by more than 1 million users within 5 days of its launch.
is a powerful "AI robot". Let's take a look at how powerful it is and how to experience it!
vscode ChatGPT Chinese version plug-in installation
Yes, this is known as the strongest AI The robot already has a Chinese version of the plug-in in vscode. Hurry up and install it to experience it!
Open your vscode, search ChatGPT to install this plug-in: [Recommended learning: vscode tutorial, Programming teaching】
You can see that his usage method is written in great detail in this plug-in, and there is even a video tutorial with a small broken site. Newbies who really don’t know how to do it can go check it out!
First experience with ChatGPT
As you can see, there are many functions of this function. The most commonly used one is to ask questions. We Come and experience it!
Shortcut key ctrl shift p or command shift p to open the command panel and enter "ChatGPT".
Enter your question here after pressing Enter. Of course, you can also directly click on the small square on the left and enter the question directly in the input box below!
Test 1: Chat
Hehehehe! powerful!
Test 2: Use C language to find the code for prime numbers between 1-100
Let’s experience Q&A writing code!
Let’s start with a simple one!
I call you good guy, and he actually wrote it down, and the notes are very detailed! This code does not need to be verified, there is no problem at all!
Let’s extract the code and run it!
#include <stdio.h> int main() { // 定义一个变量用来保存当前数字 int num; // 使用一个循环来遍历1-100之间的所有数字 for (num = 1; num <= 100; num++) { // 定义一个变量用来保存当前数字是否为素数,默认为true int is_prime = 1; // 使用另一个循环来遍历2-num-1之间的所有数字 for (int i = 2; i < num; i++) { // 如果当前数字能够被i整除,那么它不是素数 if (num % i == 0) { is_prime = 0; break; } } // 如果is_prime仍然为true,那么当前数字是素数,输出它 if (is_prime) { printf("%d is a prime number\n", num); } } return 0; }
I want to see how strong this AI is and make it more difficult!
Test 3: Write a C language management system
Write a member information management system in C language. Enter member information and select function queries. Member information includes member number, member's first and last name, when he joined, and membership fees paid from 2017 to 2021 (Note: I hope maloc, calloc, realloc, free and other functions can be used)!
The specific functions are as follows:
1. Add new members
2. Remove members
3.Update a certain member information
4.Output all member information
5.Query a certain member information
6. Exit the membership system
只能说,蒸的c,只是这个插件代码格式化功能不太好,代码块显示不太好,但也很明显的看到用结构体存储数据,实现了基础的增删改查!
需要注意的是,当本次输出达到上限,你需要输入“继续”,他会继续接着输出!
本题代码庞大,我就不测试了,感兴趣的可以去尝试!
测试四:询问代码功能
total = 0 num_list = [1,2,3,4] for i in num_list: for j in num_list: for k in num_list: if (i!=j) and (i!=k) and (j!=k): print(i,j,k) total += 1 print(total)
确实没啥问题!
结语
ChatGPT 的强大毫无疑问,确实可以帮助我们写代码,前提是你的需求要足够清晰,简直就是开发的一大利器,可以借助它实现基础功能,然后拿来修改,关键是它啥语言都能写…,并且注释很详细,利用得当也可以帮助小白学习!那么你认为程序员最终会被人工智能替代吗?
赶紧去体验体验体验吧!只有体验了才能感触到它的强大!当然也有现成的网站可以直接体验,链接我放评论区了哦!
更多关于VSCode的相关知识,请访问:vscode基础教程!
The above is the detailed content of vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!. For more information, please follow other related articles on the PHP Chinese website!

VisualStudio is suitable for large-scale projects and enterprise-level application development, while VSCode is suitable for rapid development and multilingual support. 1. VisualStudio provides a comprehensive IDE environment and supports Microsoft technology stack. 2.VSCode is a lightweight editor that emphasizes flexibility and scalability, and supports cross-platform.

Yes, some versions of VisualStudio are free. Specifically, VisualStudioCommunityEdition is free for individual developers, open source projects, academic research, and small organizations. However, there are also paid versions such as VisualStudioProfessional and Enterprise, suitable for large teams and enterprises, providing additional features.

Cross-platform development with VisualStudio is feasible, and by supporting frameworks like .NETCore and Xamarin, developers can write code at once and run on multiple operating systems. 1) Create .NETCore projects and use their cross-platform capabilities, 2) Use Xamarin for mobile application development, 3) Use asynchronous programming and code reuse to optimize performance to ensure efficient operation and maintainability of applications.

The ways to format JSON in VS Code are: 1. Use shortcut keys (Windows/Linux: Ctrl Shift I; macOS: Cmd Shift I); 2. Go through the menu ("Edit" > "Format Document"); 3. Install JSON formatter extensions (such as Prettier); 4. Format manually (use shortcut keys to indent/extract blocks or add braces and semicolons); 5. Use external tools (such as JSONLint and JSON Formatter).

Compiling code in VSCode is divided into 5 steps: Install the C extension; create the "main.cpp" file in the project folder; configure the compiler (such as MinGW); compile the code with the shortcut key ("Ctrl Shift B") or the "Build" button; run the compiled program with the shortcut key ("F5") or the "Run" button.

To install Visual Studio Code, please follow the following steps: Visit the official website https://code.visualstudio.com/; download the installer according to the operating system; run the installer; accept the license agreement and select the installation path; VSCode will start automatically after the installation is completed.

The methods to enlarge fonts in Visual Studio Code are: open the settings panel (Ctrl, or Cmd,). Search and adjust "Font Size". Choose "Font Family" with the right size. Install or select a theme that provides the right size. Use keyboard shortcuts (Ctrl or Cmd) to enlarge the font.

How to connect to a remote server through VSCode? Install Remote - SSH Extended Configuration SSH Create a Connection in VSCode Enter connection information: Host, Username, Port, SSH Key Double-click the saved connection in Remote Explorer


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Chinese version
Chinese version, very easy to use

WebStorm Mac version
Useful JavaScript development tools