Skip to content

[Feature]: LSP Support In Edit Tools #277

@ezynda3

Description

@ezynda3

What feature would you like?

AI Coding tools like opencode integrate LSP tightly with their editing tools which gives LLMs additional context when editing files. See: https://github.com/sst/opencode/blob/dev/packages/opencode/src/tool/edit.ts

Basically any time an edit tool is called, it should also check for diagnostic messages from any configured LSPs to return as part of the normal edit tool response. This way the LLM can see if it made some mistake and immediately fix it.

Why would this be useful?

This leads to less turns/edits and less time for the LLM spinning its wheels to understand random issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions