github / github/copilot-cli

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

Open
#2,679 1 comment 1 reaction 0 assignees View on GitHub
area:tools
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.