BATTLEHAWK00 / chatgpt-codehelper

A code helper extension for Visual Studio Code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chatgpt CodeHelper

A helper plugin to make your code best using ChatGPT.
一个好用的 ChatGPT 编程辅助插件,让 ChatGPT 将你的代码改造为最佳实践
商店找了很多关于 ChatGPT 插件,发现都不太符合使用习惯,于是自己写了一个插件
Localization supported 本地化支持
If you meet any problem please check out plugin repository to fire up an issue.
如果你在使用插件时遇到问题,请到仓库提 Issue,感谢配合!

Functionality / 功能

It provides a variety of utility commands like:

  1. Explain the code 解释代码
  2. Optimize the code in readability 优化代码可读性
  3. Optimize the code in data structures and algorithms 优化代码性能
  4. Write code 根据需求写代码
  5. Write test code 写测试代码
  6. Find bugs 找 Bug
  7. ...

Usage 用法

If you are the first time to use this plugin, please go to settings and set your api key. After installation, you can see plugin commands when you right click at your code selection.
如果你是第一次安装此插件,请去设置页面设置你的 api key. 安装后在选择文本后点击右键即可显示插件命令。

Todo / 计划实现的功能

  1. Customize prompt template 自定义 Prompt 提示
  2. Bidirectional dialogs 双向对话
  3. Dialog history 对话历史
  4. Retry on request fail 请求失败自动重试

Enjoy!

About

A code helper extension for Visual Studio Code.


Languages

Language:TypeScript 75.8%Language:Nunjucks 12.6%Language:JavaScript 11.6%