Add Files in Frameworks as Context

未關閉
#359 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
swift

研究方向

該 issue 未指出任何檔案、測試或進入點。首先追蹤 CopilotForXcode 目前如何選擇專案檔案作為內容脈絡,然後研究如何選擇 framework 檔案。完成的標準是:可以選擇 framework 原始檔並將其用作 AI 內容脈絡,而無需將其內容複製到 prompt 中。

由索引模型根據 Issue 內容生成。

描述

Currently Copilot can only use files that I created in my project as context. However, sometimes AI can't use some framework properly. For example, AI may keeps using some properties relate to a framework with the wrong types. Currently, the only way to solve this kind of issue is to copy the full code of the source file and paste it in the prompt window. However, it will be much better to choose the file of the framework as context.

主要語言
Swift
星號
6.3k
分支
2k
平均合併
3 天 21 小時
30 天內合併 PR
2

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/CopilotForXcode 的其他 Issue

查看 github/CopilotForXcode 的全部 Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。