Commit log

2f2ef7c Use workspace dependencies for tree-sitter grammars

Max Brunsfeld created

2e23331 Find the layer with the smallest enclosing node in language_scope_at

Max Brunsfeld created

b14cd5f Add a new button for the action

Kirill Bulatov created

ccc7800 Preserve serach index for multicaret selection editor events

Kirill Bulatov created

c130dd6 Add styles for an `action_button` ahead of the "Select all matches" UI button

Nate Butler created

f710efc Use a better name

Kirill Bulatov created

2053418 Use VSCode-like shortcuts by default

Kirill Bulatov created

29cbeb3 Allow selecting all search matches in buffer

Kirill Bulatov created

bf9dfa3 Add Svelte support (#2720)

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

Release Notes:

- Added support for the svelte language

Mikayla Maki created

f1b034d fmt

Mikayla Maki created

ff8a89a Refine svelte queries to work with zed-style highlights

Click to expand commit body
Bump scheme dependency:

Mikayla Maki created

1424a7a Add svelte language server

Click to expand commit body
Add svelte tree sitter
Add svelte config file
Add svelte highlighting

Mikayla Maki created

415b8f0 Add line height settings for the editor (#2718)

Click to expand commit body
I'm a bit tired of the complaining for this feature. But also, we should
have it. Hence, this PR.

fixes:
https://github.com/zed-industries/community/issues/304#issue-1305112032

Release Notes:
- Added a `buffer_line_height` setting

Mikayla Maki created

77c4fc9 Add line height settings for the editor

Mikayla Maki created

b7ed467 WIP: Resizing splits (#2715)

Click to expand commit body
We're finally doing the thing. 


TODO:
- [x] Choose an approach 
- Decided to add a new element just for the pane axis, containing a
slimmed down copy of the flex code.
- [x] Wire through callbacks and pointers so that data goes where it
needs to
- [x] Do the flex juggling math on resize
- [x] Update the flexes when updating the split tree
- [x] Restore the active_pane_magnification setting
- [x] Serialize an axis' flexes

Release Notes:
- Made the center pane group splits resizable. Note that resizing is
disabled if the `active_pane_magnification` setting is changed from
default.

Mikayla Maki created

50623c0 Fix serialization error

Mikayla Maki created

9da8f60 tidy up names

Mikayla Maki created

331fd89 fmt

Mikayla Maki created

5797282 Add resising serialization

Mikayla Maki created

00b04f1 Restore active pane magnification

Mikayla Maki created

d5f7ad0 Styled and refined behavior for split resizing

Mikayla Maki created

ef7aa66 Add first line pattern

Nate Butler created

9a1a981 WIP

Nate Butler created

608c163 Update outline queries; add enum as a highlighted keyword

Piotr Osiewicz created

c2ffd89 Update another deprecated plugin (#2716)

Click to expand commit body
Follow-up of https://github.com/zed-industries/zed/pull/2713, fixing the
same for the bundling part of the pipeline.

Release Notes:

- N/A

Kirill Bulatov created

8cce403 Update another deprecated plugin

Kirill Bulatov created

26b9be6 Add the math for pane resizing

Mikayla Maki created

5385ca4 Added the new elements and wired through the pointers to update the pane axis ratios

Mikayla Maki created

c9ba4c7 Fix screen sharing panic introduced by call events (#2714)

Click to expand commit body
Release Notes:

- Fixed a bug where Zed would crash when enabling screen share.

Joseph T. Lyons created

6da5008 Fix screen sharing panic introduced by call events

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Joseph T. Lyons and Max Brunsfeld created

488b418 WIP

Mikayla Maki created

1e8ee53 Update GH Actions (#2713)

Click to expand commit body
Fixes deprecation warnings the CI jobs started to have:

https://github.com/zed-industries/zed/actions/runs/5535503789

<img width="1383" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/a33ecc2a-d6d3-451d-8033-da5754df4731">

Release Notes:

- N/A

Kirill Bulatov created

7cbcc28 Update checkout actions

Kirill Bulatov created

d164034 Allow all completions with preresolved additional text edits (#2711)

Click to expand commit body
Deals with https://github.com/zed-industries/community/issues/752
Deals with https://github.com/zed-industries/community/issues/566

Currently, when converting from LSP to Zed objects, completions with
non-empty `additional_text_edits` are filtered out.
Later, all other completions form a list and the selected one gets the
`Editor::confirm_completion` call, which always queries an LSP
completion resolve request to get the `additional_text_edits` field.

Otherwise, `additional_text_edits` field is ignored entirely for the
rest of the completion lifetime β€”Β and we always pass the selected
completion through the resolve request.

The PR changes the logic, removing the `additional_text_edits` filtering
and instead of resolving every completion, now we check for
`additional_text_edits` in the completion before resolving: resolve
happens only if the data is absent.

Generally, feels like resolve has to happen before the completion
selection: LSP servers may send us markdown for completion documentation
preview pop ups and similar extra info.
Also, the server may lack resolve capabilities entirely, always sending
the request seems dangerous.
For now, the PR does not attempt to change either.

Release Notes:

- Brings rust-analyzer's postfix completions and others completions with
preresolved additional text edits

Kirill Bulatov created

ad4f5e5 Update docs (#2712)

Click to expand commit body
Update docs

Release Notes:

- N/A

Nate Butler created

0c7949b Force resolve all completions, to ensure their edits are up-to-date

Click to expand commit body
co-authored-by: Max Brunsfeld <max@zed.dev>

Kirill Bulatov and Max Brunsfeld created

6297675 Update building-zed.md

Click to expand commit body
Co-Authored-By: Derek Briggs <1648941+PixelJanitor@users.noreply.github.com>

Nate Butler and Derek Briggs created

0e600ad Update README.md

Derek Briggs created

1cc8eca Fix HTML injections (Thanks Max!)

Click to expand commit body
Co-authored-by: Max <max@zed.dev>

Piotr Osiewicz and Max created

af9506b v0.96.x dev

Joseph T. Lyons created

c732aa1 Do not resolve completions if extra edits are available

Kirill Bulatov created

37568cc Vector store (#2658)

Click to expand commit body
This PR includes a new crate, aimed at maintaining a consistent semantic
embedding database, for any project opened with Zed. At a high level,
for each file in a project, we parse the file with treesitter, embed the
symbol "document" objects with OpenAI, and maintain a consistent
database of these embeddings and offset locations in a sqlite database.
Once stored, we have built a simple modal interface for querying on
these symbols embeddings using natural language, offering the
opportunity to navigate to the selected symbol.

This initial PR is intended to provide this functionality only in preview,
as we explore, evaluate and iterate on the vector store.

- Full task details are provided in the [Semantic Search Linear
Project](https://linear.app/zed-industries/project/semantic-search-7c787d198ebe/Z)

Kyle Caverly created

c141519 merged with main

KCaverly created

dc09a11 Update README.md

Derek Briggs created

2cb7d8a Update README.md

Derek Briggs created

e69240c Piotr/z 2556 add create branch button (#2696)

Click to expand commit body
Release Notes:

- N/A

Piotr Osiewicz created

001e848 Update picker footer button style

Click to expand commit body
Co-Authored-By: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>

Nate Butler and Piotr Osiewicz created

2ac485a Merge branch 'main' into piotr/z-2556-add-create-branch-button

Piotr Osiewicz created

c12821f Increase trailoff limit for modal branch picker. (#2710)

Click to expand commit body
Z-2601

Follow-up to modal branch picker, this is the updated version:

![image](https://github.com/zed-industries/zed/assets/24362066/1017e2d9-7107-4e4c-805e-bae46412079a)
Previously a trail off limit was much smaller:

![image](https://github.com/zed-industries/zed/assets/24362066/efb6c7cf-d90d-4fbc-8c28-84872f215ac5)

Release notes:
- N/A

Piotr Osiewicz created

6260d97 Increase trailoff limit for modal branch picker.

Click to expand commit body
Z-2601

Piotr Osiewicz created