GithubHelp home page GithubHelp logo

copilot-for-hbuilderx's Introduction

GitHub Copilot for HBuilderX

Your AI pair programmer

关于

GitHub Copilot 使用 OpenAI Codex 从你的编辑器实时建议代码和整个函数。经过数十亿行公共代码的训练,GitHub Copilot 会启用自然语言提示,GitHub Copilot 可以将自然语言提示(包括注释和方法名)转换为数十种语言的编码建议。

HBuilderX 插件基于 GitHub Copilot 官方项目 Copilot.vim 开发。代码建议参考开源项目 CopilotForXcode、代码聊天参考开源项目 CopilotChat.nvim、插件配置参考 Visual Studio Code 官方插件 GitHub Copilot

要了解更多 GitHub Copilot 信息,请访问 https://github.com/features/copilot.

订阅

GitHub Copilot 需要订阅。它对经过认证的学生和 GitHub 上流行的开源项目的维护者是免费的。

GitHub Copilot 受 GitHub 附加产品条款的约束。

使用方式

  1. HBuilderX 插件市场下载并导入本插件。
  2. 点击 HBuilderX 右下角 GitHub Copilot 图标进行登录,登录后在编辑代码时 GitHub Copilot 会自动给出建议。
  • 接受建议: Tab 键
  • 拒绝建议: Esc 键
  • 主动触发编码建议:Ctrl/Command 键 + Alt 键 + \ 键
  • 开始代码聊天:
    • Ctrl/Command 键 + I 键
    • 点击右下角 GitHub Copilot 图标 -> 开始代码聊天
    • 编辑区选中代码右键,选择菜单 GitHub Copilot -> 开始代码聊天

注意事项

  • 部分地区访问 GitHub Copilot 较慢,可以尝试使用网络代理。
  • 由于 HBuilderX 存在的插件安装 Bug 首次安装可能出现异常,可以尝试重启 HBuilderX。
  • 由于 HBuilderX 存在的插件卸载 Bug 卸载或者升级可能失败,可以尝试重启 HBuilderX。
  • 由于 HBuilderX 4.0 版本存在 Bug 导致 GitHub Copilot Chat 无法正常使用,可以切换其他版本的 HBuilderX。

问题反馈与使用交流

支持本项目

可以通过以下任意方式激励来加速本项目的发展:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.