如何使用 Sourcegraph Cody 在 VS Code:安裝擴充、登入、智慧補全與程式庫 Chat

安裝 Cody、完成 Enterprise 登入,驗收第一條補全,再用 Chat 對倉庫提只讀問題。

在 VS Code 用 Sourcegraph Cody:Cody AI 擴充、Enterprise 登入、Tab 補全、Chat 帶 @-file。

sourcegraph.com/docs/cody/clients/install-vscode。檢索 Cody VS Code 安裝。Free/Pro 已於 2025-07 下線。sitdraw、建立房間。

裝擴充登入補全 · Chat
  1. 01
    安裝

    搜 Cody AI → Install → ext install sourcegraph.cody-ai。

  2. 02
    登入

    Enterprise URL + Access Token 授權。

  3. 03
    補全

    function bubbleSort(array) {} → Tab 接受灰色建議。

  4. 04
    Chat

    Alt+L → @-file / @# → 只讀問題。

Free 帳號?
2025-07 後無 Cody Free/Pro;需 Enterprise 或官方 fork 登入方式。
與 Codeium?
Codeium、Cline。
白板?
sitdraw。

先 Tab 再 Chat

確認 ghost text 正常後再 Apply diff。

開始畫