参考:https://doc.qt.io/qtcreator/creator-copilot.html
https://github.com/github/copilot.vim/blob/release/README.md
我用的Qt Creator版本13.0.2, 其他低版本未测试,更高版本应该都可以

安装nodejs

略

下载copilot.vim

在这里插入图片描述git clone https://github.com/github/copilot.vim.git $HOME/AppData/Local/nvim/pack/github/start/copilot.vim

配置Qt creator

开启copilot插件

在这里插入图片描述

大阿卡i在这里插入图片描述

重启下Qt creator

配置copilot

在这里插入图片描述
在这里插入图片描述

  • Node.js path 和 Path to agent.js 如果没有自动检测到,就手动选择;
  • Sign out xxx 之前的状态是 Sign in,点Sign in 会弹出浏览器页面到github授权,在Sign in下方会出现授权码,输入到浏览器中就OK了。
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐