github / github/copilot-cli

Leverage the LSP / Intellisense of a connected IDE (VS Code / Visual Studio)

未關閉
#2,679 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
area:tools
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the feature or problem you'd like to solve

Setting up local LSP server for Copilot CLI is unnecessary when a connected IDE can serve those operations

### Proposed solution

Manually setting up an LSP server for Copilot CLI to use is non-trivial.

Suggestion: When Copilot CLI is connected to an IDE like VS Code or Visual Studio, LSP tools like go-to-definition, find-references, hover-info, etc could be forwarded to the IDE - leveraging the LSP and Intellisense functionality there.

### Example prompts or workflows

- User opens Copilot CLI on a repository
- User open VS code on the same repository
- See: Agent operations on the repository leverage semantic understanding (via LSP/Intellisense) served by the IDE, rather than grep operations.

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

首先檢查 Copilot CLI 如何連線到 repository,以及它如何與已連線的 VS Code 或 Visual Studio 執行個體通訊。定義 go-to-definition、find-references 和 hover-info 的轉送路徑,然後驗證 CLI 工作流程範例使用的是 IDE 的 LSP 或 Intellisense 結果,而不是以 grep 為基礎的操作。

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

評估

技術堆疊
shell, vscode
領域
cli, developer-experience, devtools
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
冷清
描述清晰度
基本清楚
新手友好度
35/100

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

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