2795091
Introduce Context Retrieval in Inline Assistant (#3097)
Click to expand commit body
This PR introduces a new Inline Assistant feature "Retrieve Context", to
dynamically fill the content in your generation prompt based on relevant
results returned from the Semantic Search for the Prompt.
Release Notes:
- Introduce "Retrieve Context" button in Inline Assistant
* on opening a language server's logs, a new editor for server logs is
now created from `\n`-joined `VecDeque` elements instead of a buffer, as
before
* every `VecDeque` entry is a log line we receiver out of stderr or LSP
server, and their general amount is capped with `let
MAX_STORED_LOG_ENTRIES: usize = 2000;`
* currently opened editor with logs (`Editor::multi_line`) keeps getting
log lines appended and may get over this cap, but only last stored 2000
entries will be restored on reopen
* similarly, cap rpc message logs
Release Notes:
- Improved memory usage by storing less language LSP server and rpc logs
Kirill Bulatov
created
a95cce9
Reduce max log lines, clean log buffers better
f2d36a4
Generalize notifications' actor id to entity id
Click to expand commit body
This way, we can retrieve channel invite notifications when
responding to the invites.
Max Brunsfeld
created
31241f4
workspace: Do not scan for .gitignore files if a .git directory is encountered along the way (#3135)
Click to expand commit body
Partially fixes zed-industries/community#575
This PR will see one more fix to the case I've spotted while working on
this: namely, if a project has several nested repositories, e.g for a
structure:
/a
/a/.git/
/a/.gitignore
/a/b/
/a/b/.git/
/a/b/.gitignore
/b/ should not account for a's .gitignore at all - which is sort of
similar to the fix in commit #c416fbb, but for the paths in the project.
The release note is kinda bad, I'll try to reword it too.
- [ ] Improve release note.
- [x] Address the same bug for project files.
Release Notes:
- Fixed .gitignore files beyond the first .git directory being respected
by the worktree (zed-industries/community#575).
adabf01
Update IDs on interactive elements in LSP log viewer (#3133)
Click to expand commit body
This PR fixes a panic in the LSP log viewer when rendering the popover
UI. This did not ship to preview or stable, and so does not require a
release note.
Release Notes:
- N/A
Mikayla Maki
created
fd03915
Adjust chat to allow channel admins to delete all messages (#3132)
Click to expand commit body
As it says on the tin
Release Notes:
- Changed chat permissions so that admins of a channel can delete any
message in a channel.
Mikayla Maki
created
a81484f
Update IDs on interactive elements in LSP log viewer