mpociot / chatgpt-vscode

A VSCode extension that allows you to use ChatGPT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Asking ChatGPT to explain code in Chinese or more languages

KinXY opened this issue · comments

Hi! I am amazed at the idea to put ChatGPT into VSCode to let it explain code more efficiently!
However, because i am not native speaker of English, reading ChatGPT's answer in native language may help people like me work more efficiently.
Moreover, through my interaction with ChatGPT, I found that its ability to deal with code wont change with language
So, I would like to add a feature to let user set the snippets of asking ChatGPT to explain code, etc, so that ChatGPT can respond in the users' native language

Maybe you can edit the settings just like this:

use "这段代码的作用是什么:" instead of "Explain what this code does: " for chatgpt.promptPrefix.explain.

There is another plugin called "ChatGPT中文版" which I believe does the same thing but in Chinese