Table of Contents
Test 3: Write a C language management system" >Test 3: Write a C language management system
测试四:询问代码功能" >测试四:询问代码功能
Home Development Tools VSCode vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!

vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!

Dec 16, 2022 pm 07:51 PM
vscode chatgpt

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

vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!
vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!
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

vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!
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".

vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!
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!

vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!

Test 1: Chat

vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!
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!

vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!

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;
}

vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!

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

vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!
vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!

只能说,蒸的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)

vscode configures the Chinese plug-in to allow you to experience ChatGPT without registration!
确实没啥问题!

结语

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!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to install VSCode on Windows How to install VSCode on Windows Jul 27, 2025 am 03:16 AM

Gotohttps://code.visualstudio.comanddownloadtheWindowsUserInstaller.2.Runthe.exefile,allowchanges,andselectrecommendedoptionsincludingaddingtoPATHandcreatingadesktopshortcut.3.ClickFinishtolaunchVSCodeafterinstallation.4.Optionallyinstallusefulextens

How to use VSCode with WSL (Windows Subsystem for Linux) How to use VSCode with WSL (Windows Subsystem for Linux) Aug 01, 2025 am 06:26 AM

InstallWSLandaLinuxdistributionbyrunningwsl--installinPowerShellasAdministrator,thenrestartandsetuptheLinuxdistribution.2.Installthe"Remote-WSL"extensioninVSCodetoenableintegrationwithWSL.3.OpenaprojectinWSLbylaunchingtheWSLterminal,navigat

How to run Python script with arguments in VSCode How to run Python script with arguments in VSCode Jul 30, 2025 am 04:11 AM

TorunaPythonscriptwithargumentsinVSCode,configurelaunch.jsonbyopeningtheRunandDebugpanel,creatingoreditingthelaunch.jsonfile,andaddingthedesiredargumentsinthe"args"arraywithintheconfiguration.2.InyourPythonscript,useargparseorsys.argvtoacce

What is the difference between VSCode and Visual Studio What is the difference between VSCode and Visual Studio Jul 30, 2025 am 02:38 AM

VSCodeisalightweight,cross-platformcodeeditorwithIDE-likefeaturesviaextensions,idealforwebandopen-sourcedevelopment;2.VisualStudioisafull-featured,Windows-onlyIDEdesignedforcomplex.NET,C ,andenterpriseapplications;3.VSCodeperformsfasteronlower-endma

How to debug unit tests in VSCode How to debug unit tests in VSCode Aug 01, 2025 am 06:12 AM

Createormodifylaunch.jsoninVSCodebyopeningtheRunandDebugview,selectingyourenvironment(e.g.,Python,Node.js),andconfiguringitforyourtestframework(e.g.,pytest,Jest).2.Setbreakpointsinyourtestfile,selectthedebugconfiguration,andstartdebuggingwithF5topaus

How to change the font size in vscode? How to change the font size in vscode? Aug 02, 2025 am 02:37 AM

TochangethefontsizeinVSCode,useoneofthesemethods:1.OpenSettingsviaCtrl ,(orCmd ,onMac),searchfor"fontsize",andadjustthe"Editor:FontSize"value.2.OpenSettings(JSON)fromtheCommandPalette,thenaddormodify"editor.fontSize":e.g

How to use Markdown preview in VSCode How to use Markdown preview in VSCode Jul 29, 2025 am 02:05 AM

To use Markdown preview in VSCode, no additional installation is required. 1. Open or create a .md file; 2. Use Ctrl Shift V (Windows/Linux) or Cmd Shift V (Mac) shortcut keys, or open the preview through the right-click menu and command panel; 3. Preview is updated in real time by default, ensuring that automatic save is enabled to keep synchronized; 4. You can switch the synchronization scrolling function by right-clicking the preview area, and the preview supports GitHub-style Markdown and mathematical formulas (MarkdownAllinOne extension needs to be installed), and can customize the CSS style, which is easy to operate and complete.

How to debug a Python script in VSCode How to debug a Python script in VSCode Aug 16, 2025 am 02:53 AM

To debug Python scripts, you need to first install the Python extension and configure the interpreter, then create a launch.json file to set the debugging configuration, then set a breakpoint in the code and press F5 to start the debugging. The script will be paused at the breakpoint, allowing checking variables and step-by-step execution. Finally, by checking the problem by viewing the console output, adding logs or adjusting parameters, etc., to ensure that the debugging process is simple and efficient after the environment is correct.

See all articles