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_

贡献指南

打开贡献指南

调研方向

Start by examining how Copilot CLI connects to a repository and how it could communicate with a connected VS Code or Visual Studio instance. Define the forwarding path for go-to-definition, find-references, and hover-info, then verify that example CLI workflows use the IDE's LSP or Intellisense results instead of grep-based operations.

由索引模型根据 Issue 内容生成。

评估

技术栈
shell, vscode
领域
cli, developer-experience, devtools
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。