Copilot Chat 是Copilot X 引入的預(yù)覽功能,不但可以像Chatgpt一樣聊天,也可以解釋代碼,bug 修復(fù),也可以生成單元測(cè)試。是一個(gè)非常有吸引力的功能。
實(shí)際使用效果:
申請(qǐng)
-
首先申請(qǐng),并開(kāi)通copilot, 地址為:https://github.com/features/copilot,copilot 一個(gè)月10美金,第一個(gè)月免費(fèi),支持國(guó)內(nèi)的信用卡。
-
開(kāi)通copilot之后,可以申請(qǐng) copilot chat 的預(yù)覽版功能,網(wǎng)址為:https://github.com/features/preview ,通過(guò)下圖中箭頭指向的入口申請(qǐng)Copilot chat的功能。
-
這個(gè)copilot chat 等待的時(shí)間不確定,我的賬號(hào)等待了整整一個(gè)月。
使用
申請(qǐng)通過(guò)之后,會(huì)收到一封標(biāo)題為"You’re now in the GitHub Copilot chat private beta!" 的郵件,郵件里有安裝方法:
對(duì)vs code 來(lái)說(shuō),步驟如下:
-
首先需要下載 Visual Studio Code Insiders, 這個(gè)相當(dāng)于vs code 的預(yù)覽版本,會(huì)經(jīng)常更新,Copilot Chat 只在 vs code insiders 中起作用。
-
在 vs code insiders 中安裝
GitHub Copilot Nightly
-
安裝完成,右下角會(huì)提示登錄 Copilot;登錄成功,可以發(fā)現(xiàn)左側(cè)的工具欄會(huì)出現(xiàn)一個(gè)Chat 標(biāo)簽,如果沒(méi)有出現(xiàn),嘗試重啟 vs code insiders.
-
嘗試Connect WSL,然后在WSL 中重復(fù)安裝
GitHub Copilot Nightly
文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-470776.html
常見(jiàn)問(wèn)題
如果在WSL的安裝GitHub Copilot Nightly
的過(guò)程中出現(xiàn)如下錯(cuò)誤:
“Can’t install release version of ‘github.copilot-chat’ extension because it has no release version.”
嘗試在命令行中指令如下指令:文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-470776.html
code-insiders --install-extension github.copilot-chat@prerelease
參考
- Copilot Chat enable issue (with access) + install issue in WSL
到了這里,關(guān)于Github Copilot Chat申請(qǐng),安裝,及常見(jiàn)問(wèn)題解決的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!