Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ChatGPT中文版 - 免翻墙New to Visual Studio Code? Get it now.
ChatGPT中文版 - 免翻墙

ChatGPT中文版 - 免翻墙

xiaohuoni

|
6,238 installs
| (1) | Free
免翻墙,为我自己写的 ChatGPT 插件
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

iChatGPT VSCode Extension

大部分代码均来自 ChatGPT VSCode Extension - A VS code plugin for ChatGPT built by ChatGPT。我是基于这个插件做的修改。主要修改的是视图部分的内容。视图来自 chatfish。我就是个缝合大师。这是一个为我自己编写的 ChatGPT 插件,很高兴你能选择使用它,如果它对你有所帮助,或者你需要一些其他的功能,你可以联系我。

Install the plugin from the VSCode MarketPlace

Features

Commands:

中文:

  • iChatGPT:查询(将提示您提出问题)
  • iChatGPT:添加测试(根据文件/文本选择生成测试)
  • iChatGPT:为什么我的代码被破坏了?(分析代码以突出显示任何逻辑/语法错误)
  • iChatGPT:解释代码
  • iChatGPT:重构器
  • iChatGPT:设置API密钥(设置您的 API 密钥,首次使用时自动提示)

在编辑器中右键单击时,上下文菜单中除了『设置 API 密钥』和『查询』之外的所有内容都可用

英文:

  • iChatGPT: Query (will provide a prompt for you to ask a question)
  • iChatGPT: Add tests (generates tests based on file/text selection)
  • iChatGPT: Why is my code broken? (analyses your code to highlight any logic/syntax errors)
  • iChatGPT: Explain code
  • iChatGPT: Refactor
  • iChatGPT: Set API Key (set's your API key, auto promted on first use)

Everything except Reset Token and Query are available from the context menu when right-clicking in the editor.

image

用法

打开 VSCode 命令板(mac 快捷键 command + Shift + P)并键入 iChatGPT:设置 API Key,输入你的 OpenAI API密钥,可以在 https://openai.com/account/api-keys 申请。

打开 VSCode 命令板(mac 快捷键 command + Shift + P)并键入 iChatGPT:设置代理,如果你没有“魔法”。输入你的代理地址,使用之后不需要翻墙,可以参考这里 https://github.com/noobnooc/noobnooc/discussions/9 自己搭建,或者找某些大魔法师请教。

通过身份验证后,您可以向ChatGPT询问任何问题,并提供当前文件/选择中的源代码

帮助

如果你在使用这个插件的时候,需要帮助,请联系我。

Credits

  • ChatGPT VSCode Extension - A VS code plugin for ChatGPT built by ChatGPT
  • ChatGPT - The large language model trained by OpenAI that was used to generate this README file
  • chatgpt-api - The original NPM used prior to the offical library
  • mpociot's extension - Inspiration for the project and the original webview panel
  • Gencay's extension - Ported version of Gencay's webview panel.
  • Yeoman - The code generator used to scaffold the extension project
  • VS Code Extension Generator - The Yeoman generator for creating VS Code extensions

交流群

image

264626657

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft