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
- current active file/buffer
- 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.
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:
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.