Commit log

f445be9 zed 0.105.5

Joseph T. Lyons created

512fa39 return an error and dont panic if database is empty (#3051)

Click to expand commit body
return an error early if no files are loaded into the vector database

Release Notes:

- removed the potential for a panic in the vector database

Kyle Caverly created

05681f2 return an error and dont panic if database is empty

KCaverly created

3d3f10d v0.105.x stable

Joseph T. Lyons created

fe8045d Bump update notification size back up

Julia created

5be87ab Correct icon_margin_scale for fold indicator (#3003)

Click to expand commit body
Fixes a design regression on Preview where the fold icon became small
due to the icon standardization PR.

Release Notes:

- [Preview] Fixed an issue with the size of the fold line icon.

Nate Butler created

03e3166 zed 0.105.4

Kirill Bulatov created

0c8511c Fix another place where Copilot may panic (#3033)

Kirill Bulatov created

8a5d979 zed 0.105.3

Joseph T. Lyons created

c9d1cc4 Activate correct item when clicking on a code action with the mouse

Julia created

a0597d2 Trigger `scroll_to` on code action list when moving selection

Julia created

dd10d72 Tone down inlay hint update logs

Kirill Bulatov created

d58dd7e Do not resubscribe for Copilot logs events (#3014)

Click to expand commit body
Last follow-up of https://github.com/zed-industries/zed/pull/3002
Fixes
https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1695281196667609

Copilot sends multiple events about its LSP server readiness, not
necessarily recreating the server from scratch (e.g. due to re-sign in
action). Avoid re-adding same log subscriptions on the same LSP server,
which causes panics.

Release Notes:

- N/A

Kirill Bulatov created

0296ca1 zed 0.105.2

Max Brunsfeld created

44bc931 add semantic index status, for non authenticated users (#3005)

Click to expand commit body
Update project search semantic ui to accommodate for users who have not
set the OPENAI_API_KEY in their environment variables.

Release Notes:

- Expand Semantic Index status to include status for non authenticated
users
- Update Search UI to illustrate this status.

Kyle Caverly created

a01915e Bump rust from 1.72.0 to 1.72.1

Max Brunsfeld created

95a8f76 Fix channel move cancel (#3004)

Click to expand commit body
Release Notes:

- Fixes a bug where channels could no longer be rearranged with drag and
drop.

Max Brunsfeld created

4ac08a8 Supplementary LSP server log improvements (#3002)

Click to expand commit body
Follow-up of https://github.com/zed-industries/zed/pull/2991 improving
rough edges around supplementary LSP servers:

* Fixes
https://zed-industries.slack.com/archives/C04S6T1T7TQ/p1695281196667609
Copilot init panic
* Makes LSP server list scrollable in the panel
* Shows supplementary servers' RPC logs in the panel

Release Notes:

- N/A

Kirill Bulatov created

0bb0602 zed 0.105.1

Max Brunsfeld created

ef591a1 Fix select all bugs (#3001)

Click to expand commit body
Release Notes:

- Restore `cmd-shift-d` as 'editor::DuplicateLine' and move
`editor::SelectAllMatches` to `cmd-shift-L`, like in VS Code. The
previous action for `cmd-shift-l`, `editor::SplitSelectionIntoLines`,
has been moved to the sublime base keymap.
- Fixes a panic when using 'editor::SelectAllMatches'  on an empty line.

Max Brunsfeld created

029a443 Fix bugs from channel moving (#3000)

Click to expand commit body
This PR fixes several bugs related to channel moving and it's
unintuitive behavior when attempting to re-order channels

Release Notes:

- N/A

Mikayla Maki created

afe1fb3 Fix opening channel notes from collab panel context menu (#2998)

Click to expand commit body
Release Notes:

- Fixed a bug where the 'Open Notes' action in the collaboration panel
context menu didn't work (preview only).

Max Brunsfeld created

897efd0 Fix vim test recording

Conrad Irwin created

692f25a Fix vim panic when over-shooting with j

Conrad Irwin created

4fda5f2 v0.105.x preview

Joseph T. Lyons created

5fe8aa0 Keyboard navigation and setting persistence for project search (#2996)

Click to expand commit body
Enable keyboard shortcuts for Project Search modes, and ensure project
search settings are persisted search to search.

Release Notes:

- Added alt-cmd-s to Toggle Semantic Search Mode
- Added alt-cmd-g to Toggle Regex Search Mode
- Added alt-cmd-x to Toggle Text Search Mode
- Defaulted new project searches to using last used search mode and
settings.

Kyle Caverly created

7f4d285 Add select all command to the editor (#2963)

Click to expand commit body
Equivalent to hitting cmd-d as many times as possible

cc: @JosephTLyons this PR needs a bit of work on user-facing naming and
interactions:
- [x] ~~I thought cmd-shift-d would be nice for this action, but that is
already taken by a sublime key binding. Could we use the VSCode binding?
I left the sublime text binding in but commented out.~~ Gonna just leave
it as is
- [x] ~~I went through 'SelectAllMatches' and 'SelectAll' as names for
this action, but ran into conflicts with the buffer search action and
the existing SelectAll (`cmd-a`) action. I decided to go with
`SelectNextAll`, but could use your help here.~~ Decided to go with
'SelectAllMatches'

Release Notes:
- Added a `editor::SelectAllMatches` command, bound to `cmd-shift-d`,
for selecting all matching occurrences under your selection. Note that
this has replaced the previous binding for `editor::DuplicateLine`.

Joseph T. Lyons created

37a0c66 remove conditional action registration for activate semantic search mode

KCaverly created

fdf5278 Only autoscroll on select_next operations

Mikayla created

22d095b enable project search states to persist between workspace project searches

KCaverly created

8cc7a02 Fix rebase

Mikayla created

03d4191 Fix infinite loop in select all matches

Mikayla created

c074bfd Add select all command to the editor, equivalent to hitting cmd-d as many times as possible

Mikayla created

28ed406 add keymaps for activating text, regex and semantic modes

KCaverly created

912e6e8 create initial action for Semantic search mode

KCaverly created

a366ad0 Add a way to display unrelated to language support language servers' logs (#2991)

Click to expand commit body
Copilot is being used in every buffer, but we do not see its logs that
easily.
In the future, prettier wrapper will pretend to be an LSP server, it is
better to log its messages somewhere, so prepare an infrastructure for
that.

<img width="1727" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/d31a257c-9608-46fa-8be1-f0a2a2bdbdb7">

Copilot seem to have no rpc messages logged for some reason now,
prettier wrapper might be a better case to investigate this, so leaving
as is.

Release Notes:

- N/A

Kirill Bulatov created

6ebe49e Show Copilot logs right after its LSP server start

Kirill Bulatov created

82010b6 Avoid extra LSP log events

Kirill Bulatov created

4331cb8 Initialize workspace properly in tests (#2994)

Click to expand commit body
For vim command I'd like to be able to test that e.g. workspace::Save
works.

Conrad Irwin created

1295e5b vim: Use explicit global, not default (#2987)

Click to expand commit body
This should have no user-visible impact, but tidies up one of the
awkwardnesses
of how vim uses global state at the moment.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Conrad Irwin and Max Brunsfeld created

5bb8ba5 Initialize workspace properly in tests

Click to expand commit body
For vim command I'd like to be able to test that e.g. workspace::Save
works.

Conrad Irwin created

e37373a Add UI/UX for moving channels (#2976)

Click to expand commit body
TODO:

- [x] Add drag and drop
- [x] Polish up in-flight decisions.
- [x] Fix chat panel panic
- [x] Add nice hover effect highlighting the matching ones
- [x] Fix and test keyboard

Release Notes:

- N/A

Mikayla Maki created

ac65e75 Add hover styles to channels matching the current selection

Click to expand commit body
Fix chat desync from moving / linking channels

Mikayla created

2f44055 Semantic index eval (#2988)

Click to expand commit body
v0 of the Semantic Index evaluate test suite

Release Notes:

- Added eval.rs as an example to the semantic-index crates
- Generates test metrics for two small projects, as a starting point to
systematically evaluate retrieval quality

Kyle Caverly created

11b3bfd fix warnings

KCaverly created

25cb79e remove git2 dependency for repository cloning in semantic_index eval

KCaverly created

d5f0ce0 Finish implementing drag and drop

Mikayla created

4525509 buffer/replace: Advance match index on each replace. (#2992)

Click to expand commit body
Release Notes:
- Fixed "Replace next" not advancing the match index.

Piotr Osiewicz created

f3b9108 Improve drag and drop to look and feel better

Click to expand commit body
WIP: Change rendering of drag and drop based on alt-modifier

Mikayla created

7bc4f0b Send copilot log messages into the log panel

Kirill Bulatov created