Commit log

95bda04 v0.106.x stable

Joseph T. Lyons created

8d3825f Refactor elixir LSP settings (#3071)

Click to expand commit body
This PR is a bit of a last minute change, but I realized there was
actually a third player in the Elixir LSP space who wants support as
well,
[lexical](https://github.com/zed-industries/community/issues/1567). I
realized that the settings arrangement I shipped in this preview
precludes adding a third kind of LSP. I don't have the time to learn how
to fully support this LSP, but I thought I'd at least refactor how the
settings are represented before this hits stable.

Release Notes:

- Changed the new `"elixir": { "next": "on" }` setting to `"elixir": {
"lsp": "next_ls" }`. The `elixir.lsp` setting requires a full restart to
take effect. (Preview only)

Mikayla Maki created

9b9ea89 zed 0.106.2

Mikayla created

b70b856 Add support for the TextDocumentSyncKind LSP option (#3070)

Click to expand commit body
fixes https://github.com/zed-industries/community/issues/2098

Release Notes:

- Fixed a bug in Zed's LSP implementation when using Next LS.

Mikayla Maki created

348145a zed 0.106.1

Antonio Scandurra created

59f160a Introduce the ability to include or exclude warnings from project diagnostics (#3056)

Click to expand commit body
![CleanShot 2023-09-27 at 18 09
37](https://github.com/zed-industries/zed/assets/482957/317d31e4-81f8-44d8-b94f-8ca7150d3fd2)

Release Notes:

- Added the ability to exclude warnings from project diagnostics. By
default, they will be on but they can be disabled temporarily by
clicking on the warnings icon. The default behavior can be changed by
changing the new `diagnostics.include_warnings` setting.

Antonio Scandurra created

098a6b1 Enable semantic_index by default (#3061)

Click to expand commit body
Release Notes:

- Enabled the `semantic_index` setting by default.

Joseph T. Lyons created

63db1a9 Don't prompt to save unchanged files (#3053)

Click to expand commit body
- don't prompt to save a set of unchanged files when closing
(preview-only)

Conrad Irwin created

e98be46 v0.106.x preview

Joseph T. Lyons created

2c05470 Revert "leverage file outline and selection as opposed to entire file" (#3049)

Click to expand commit body
Reverts zed-industries/zed#3040

Kyle Caverly created

b3b3a56 Revert "leverage file outline and selection as opposed to entire file"

Kyle Caverly created

4242b45 Revert "removed stale dbg in assistant from main" (#3048)

Click to expand commit body
Reverts zed-industries/zed#3046

Kyle Caverly created

cab80cb Revert "removed stale dbg in assistant from main"

Kyle Caverly created

d671a8a Bump update notification size back up (#3047)

Click to expand commit body
Regressed:
<img width="422" alt="CleanShot 2023-09-27 at 11 07 37@2x"
src="https://github.com/zed-industries/zed/assets/30666851/636d7bec-4518-45e6-87bd-84b45dda28e1">

Fixed:
<img width="424" alt="CleanShot 2023-09-27 at 11 04 13@2x"
src="https://github.com/zed-industries/zed/assets/30666851/186a1d49-4daf-4211-891a-dacfd1144311">

Release Notes:

- N/A

Julia created

6b88ac9 Bump update notification size back up

Julia created

6ccaf55 search: Reorder items in search bar (#3039)

Click to expand commit body
Release Notes:

- Reordered items in project and buffer search bar

Piotr Osiewicz created

edf29aa implement new search strategy (#3029)

Click to expand commit body
Augment current search strategy in semantic search, reducing search
times by ~60%

Release Notes:

- Implemented minimum batch sizes for concurrent database reads.
- Batch embedding matrix multiplication.
- Calculate matmul with ndarray

Kyle Caverly created

0e6fd64 leverage embeddings len returned in construction matrix multiplication

KCaverly created

c63cc78 vim: Fix ctrl-u/ctrl-d (#3044)

Click to expand commit body
- vim: Fix ctrl-d/ctrl-u to match vim (when :set scrolloff=3)

Conrad Irwin created

3682751 Merge branch 'main' of github.com:zed-industries/zed into faster_semantic_search

KCaverly created

abefa27 removed blas and increase batch size for vector search

KCaverly created

4ccd693 removed stale dbg in assistant from main (#3046)

Click to expand commit body
remove small dbg! statement in main

Kyle Caverly created

0d6880a removed stale dbg in assistant from main

KCaverly created

2f368de leverage file outline and selection as opposed to entire file (#3040)

Click to expand commit body
Transition generate prompt for inline assist to leverage outline as
opposed to full file.
This enables, us to leverage the inline assist for large files.

Release Notes:

- Change inline assist to use tree-sitter based outlines for code
generation instead of full files

Kyle Caverly created

650a160 update test outline for prompt tests for new cursor span

KCaverly created

ecb037f language: Add block_comment to CSS (#3045)

Click to expand commit body
Fixes zed-industries/community#2081

Release Notes:
- Fixed "toggle comment" action not working in CSS buffers.

Piotr Osiewicz created

8e1bbf3 vim: Fix ctrl-u/ctrl-d

Click to expand commit body
They should work by exactly half a screen, and also move the cursor.

Conrad Irwin created

30bb3a1 Add SwapPaneInDirection (#3043)

Click to expand commit body
- Add cmd-k shift-{left,right,up,down} to swap panes in that direction
- vim: Add ctrl-w shift-{h,j,k,l} to swap panes in that direction
([#278](https://github.com/zed-industries/community/issues/278))

Conrad Irwin created

37b6e1c Add SwapPaneInDirection

Click to expand commit body
Add keybindings for vim (and non-vim)

Conrad Irwin created

cb83b49 Hide inlay hints toggle if they are not supported by the current editor (#3041)

Click to expand commit body
Release Notes:

- N/A

Kirill Bulatov created

568fec0 Add `Sized` bound to `StyleHelpers` (#3042)

Click to expand commit body
This PR adds a `Sized` bound to the `StyleHelpers` trait.

All of the individual methods on this trait already had a `Self: Sized`
bound, so moving it up to the trait level will make it so we don't have
to repeat ourselves so much.

There's an open question of whether we can hoist the `Sized` bound to
`Styleable`, but it's possible there are cases where we'd want to have a
`Styleable` trait object.

Release Notes:

- N/A

Marshall Bowers created

7e2cef9 Hide inlay hints toggle if they are not supported by the current editor

Kirill Bulatov created

90f17d4 updated codegen match to leverage unused values

KCaverly created

e8dd412 update inline generate prompt to leverage more explicit <|START| and |END|> spans

KCaverly created

54c6306 changed inline assist generate prompt to leverage outline as opposed to entire prior file

Click to expand commit body
Co-Authored-by: Antonio <antonio@zed.dev>

KCaverly and Antonio created

e9e558d Rework call events api (#3038)

Click to expand commit body
There were times when events with bad data were being emitted. What we
found was that places where certain collaboration-related code could
fail, like sending an invite, would still send events; those events
would be in a bad state, as certain elements, such as a room, weren't
constructed as expected, causing the event to have missing data. The new
API guarantees that we have data in the correct configuration. In the
future, we will add events for certain types of failures within Zed, to
cover things like invites failing.

Release Notes:

- N/A

Joseph T. Lyons created

0897ed5 Rework call events api

Click to expand commit body
There were time when events with bad data were being emitted. What we found was that places where certain collaboration-related code could fail, like sending an, would still send events, and those events be in a bad state, as certain elements weren't constructed as expected, thus missing in the event. The new API guarantees that we have data in the correct configuration. In the future, we will add events for certain types of failures within Zed.

Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>

Joseph T. Lyons and Julia created

e263805 workspace: change save prompt for unnamed buffers (#3037)

Click to expand commit body
Release Notes:
- N/A

Piotr Osiewicz created

8c47f11 editor: Start transaction in replace impl (#3036)

Click to expand commit body
This fixes the undo with replace in project
/cc @maxbrunsfeld 

Release Notes:

- N/A

Piotr Osiewicz created

36f022b project_replace: Fix up key bindings (#3034)

Click to expand commit body
Release Notes:
- N/A

Piotr Osiewicz created

e75f56a move to system blas

KCaverly created

342a00b Remove `dbg!` from `styleable_helpers!` (#3035)

Click to expand commit body
This PR removes a leftover `dbg!` from `styleable_helpers!`.

We already removed this in the `gpui2-ui` branch, but getting this on
`main` since @KCaverly pointed it out.

Release Notes:

- N/A

Marshall Bowers created

330a71d fixed bug limiting number of results returned

KCaverly created

ea278b5 ensure desc sort and cleanup unused imports

KCaverly created

5e7f0c6 Fix another place where Copilot may panic (#3033)

Kirill Bulatov created

b131a2c Fix another place where Copilot may panic

Kirill Bulatov created

b5a39de Add `reset_db` script

Joseph T. Lyons created

42df5ef vim: Add multicursor shortcuts (#3032)

Click to expand commit body
Adding a few bindings to bring first class feeling multiselect to zed's
vim emulation.

gn and gN are similar to similar vim bindings, ga is similar to gA (and
I doubt we need vim's real ga), g> and g< are just made up.

Release Notes:

- vim: `g n` / `g N` to select next/previous
- vim: `g >` / `g <` to skip current selection and select next/previous
- vim: `g a` to select all

Conrad Irwin created

b29e295 vim: Add multicursor shortcuts

Click to expand commit body
- g n / g N to select next/previous
- g > / g < to select next/previous replacing current
- g a to select all matches

Conrad Irwin created

8c90157 Fix space and copy/paste when editing a channel (#3030)

Click to expand commit body
This fixes several bugs with how spaces and keyboard commands interact
with channel creating / renaming.

fixes
https://github.com/zed-industries/community/discussions/2076#discussioncomment-7096959

Release Notes:

- N/A

Mikayla Maki created