Edit prediction does not distinguish between project contexts #28771
failable
started this conversation in
Edit Predictions
Replies: 1 comment
-
|
Yeah, it might make sense to include the current buffer language as additional context. Perhaps we can add some samples to the training set which improve this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Edit prediction does not distinguish between project contexts. After editing Python project A, the prediction in Rust project B is pretty much affected by the context in project A.
Steps to trigger the problem:
uv init pppto initialize a Python project.main.pyand write a[gcd](https://en.wikipedia.org/wiki/Greatest_common_divisor)function.cargo new --lib rrrto initialize a Rust project.lib.rsand inputfn(space).Actual Behavior:
The edit prediction shows a
gcdfunction in Rust.Expected Behavior:
Edit prediction should distinguish between project contexts.
Zed Version and System Specs
Zed: v0.179.1 (Zed Preview)
OS: macOS 15.3.2
Memory: 64 GiB
Architecture: aarch64
Beta Was this translation helpful? Give feedback.
All reactions