Skip to content

Add editor information to Complete #449

@AndiLavera

Description

@AndiLavera

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

Follow up #448.

Add editor information including but not limited to:

  • recent edits/diff histories
    • Found in both Cursor & Zed. Zed serializes to unified diff when injecting in the prompt.
  • open files
    • Zed & Cursor
  • current active file/buffer
    • Zed & Cursor
  • type definitions
  • related files
    • Zed ranks files by how many definitions/imports are pointing to a file
    • Cursor had a key for this but not too much info on it. It looks like they collect a whole lot client side but who knows what happens server side.

One thing to note: Most of these are not raw outputs. Zed dedupes, strips, drops or truncates "related files" if they are too big, etc. There seems to be a balance of information vs token size. If this feature moves forward, we may want to discuss ways to allow users to "tune" the aggressiveness.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions