Skip to content

Add LSP integration #491

@scaryrawr

Description

@scaryrawr

Describe the feature or problem you'd like to solve

Detect build problems without running the build through LSP integration

Proposed solution

One of the things that VS Code Copilot integration has is it gets fed some of the information from the IDE (I think specifically it can "see squiggles").

When using copilot CLI, you tend to need to instruct it to run build/lint commands to detect issues with its changes. Depending on the codebase, this eats a ton of context causing summarization and degrading experience.

My main desire would be smarter edits based on LSP information, but also am curious if copilot's "exploration" of a codebase could be improved using LSP to look up definitions and declarations 🤔 (though it's also possible it gets worse since it tends to know CLI tools very well).

The lack of LSP integration is oddly also a strong point for working in larger code bases where spinning up an LSP server/client can add performance issues to copilot CLI. If LSP support isn't added carefully, copilot CLI might only work in small codebases.

Example prompts or workflows

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions