Commit log

2f5eaa8 vim increment (#3054)

Click to expand commit body
- vim: add ctrl-a/ctrl-x for increment/decrement

Conrad Irwin created

da964fa Enable semantic_index by default (#3061)

Click to expand commit body
Release Notes:

- Enabled the `semantic_index` setting by default.

Joseph T. Lyons created

e9c1ad6 Undo making project optional on stored follower states

Click to expand commit body
Following works without a project, but following in unshared projects does
not need to be replicated to other participants.

Max Brunsfeld created

f965ee9 Enable semantic_index by default

Joseph T. Lyons created

ce940da Fix errors from assuming all room_participant rows had a non-null participant_index

Click to expand commit body
Rows representing pending participants have a null participant_index.

Co-authored-by: Conrad <conrad@zed.dev>

Max Brunsfeld and Conrad created

a8b35eb Merge branch 'main' into allow-following-outside-of-projects

Max Brunsfeld created

0c95e5a Fix coloring of local selections when following

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

Max Brunsfeld and Conrad created

0f39b63 Rename color_index to participant_index

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

Max Brunsfeld and Conrad created

545b5e0 Assign unique color indices to room participants, use those instead of replica_ids

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

Max Brunsfeld , Conrad , and Antonio created

3cf7164 Fix text transformation commands for multiple line, single selection cases (#3060)

Click to expand commit body
If you highlight the following block of text (with a single selection):

```
The quick brown
fox jumps over
the lazy dog
```

and run `editor: convert to upper camel case`, you'll get:

```
TheQuickBrown
foxJumpsOver
theLazyDog
```

instead of:

```
TheQuickBrown
FoxJumpsOver
TheLazyDog
```

The same thing happens for `editor: convert to title case`. This happens
because [`to_case` crate](https://crates.io/crates/convert_case) doesn't
allow the user to define '\n' as a boundary. I wanted to fix this at the
lib level, so I filled [an
issue](https://github.com/rutrum/convert-case/issues/16) but I never
heard back. What's strange is VS Code and Sublime I think both exhibit
the same output as we do currently, but I don't personally think this
feels right (happy to hear opposing opinions). I'm just doing the naive
thing to hack around this limitation of the `to_case` crate.

I did some testing and it seems I only need to adjust `editor: convert
to title case` and `editor: convert to upper camel case`. The way the
other transformations are implemented in `to_case` don't seem to have
this issue.

Release Notes:

- Fixed a bug where running certain text transfomration commands on a
single selection covering multiple lines would not transform all
selected lines as expected.

Joseph T. Lyons created

a8188a2 Improve file finder ergonomics (#3059)

Click to expand commit body
Deals with https://github.com/zed-industries/community/issues/2086
Part of https://github.com/zed-industries/community/issues/351

Initial:
<img width="585" alt="Screenshot 2023-09-28 at 09 50 05"
src="https://github.com/zed-industries/zed/assets/2690773/e0149312-dfe3-4b7c-948c-0f593d6f540c">
First query letter input (only two history items match that, both are
preserved on top, with their order preserved also)
<img width="603" alt="Screenshot 2023-09-28 at 09 50 08"
src="https://github.com/zed-industries/zed/assets/2690773/85ab2f4c-bb9c-4811-b8b0-b5c14a370ae2">
Second query letter input, no matching history items:
<img width="614" alt="Screenshot 2023-09-28 at 09 50 11"
src="https://github.com/zed-industries/zed/assets/2690773/6d380403-a43c-4f00-a05b-88f43f91fefb">
Remove second query letter, history items match again and pop to the
top:
<img width="574" alt="Screenshot 2023-09-28 at 09 50 15"
src="https://github.com/zed-industries/zed/assets/2690773/5981ca53-6bc8-4305-ae36-27144080e1a2">


* allows `file_finder::Toggle` (cmd-p by default) to cycle through file
finder items (ESC closes the modal still)
* on query typing, preserve history items that match the query and keep
them on top, with their ordering preserved
* show history items' matched letters

Release Notes:

- Improve file finder ergonomics: allow cycle through items with the
toggle action, preserve matching history items on query input

Kirill Bulatov created

d30385f Show path matches inside history items matching the query

Kirill Bulatov created

1b5ff68 Show matching search history whenever possible

Kirill Bulatov created

97eabe6 Add tests

Kirill Bulatov created

57a95d1 Preserve matching history items and their order

Kirill Bulatov created

541dd99 Cycle file finder entries on cmd-p

Kirill Bulatov created

81a107f assets: Add keybinds to replace (#3055)

Click to expand commit body
Release Notes:

- N/A

Piotr Osiewicz created

768c991 vim: Fix some dw edge cases

Conrad Irwin created

51b24bb Add vim-style completion bindings:

Conrad Irwin created

2cb320e Escape returns to normal mode even if completion is open

Click to expand commit body
For zed-industries/community#1746

Conrad Irwin created

73fc1c1 Add `g space` for option-enter

Click to expand commit body
vimify all the things

Conrad Irwin created

d1baff1 Add ctrl-i to go forward

Click to expand commit body
For zed-industries/community#1732

Conrad Irwin created

dd1cf5c vim: add ctrl-a/ctrl-x

Click to expand commit body
For zed-industries/community#1411
For zed-industries/community#619

Conrad Irwin created

9246c11 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

0e6002d Fix tests

Antonio Scandurra created

78908bc Introduce a new `include_warnings` setting under `diagnostics`

Antonio Scandurra created

f603d68 Add an include/exclude warnings toggle in project diagnostics

Antonio Scandurra created

6cebcac fix tests

Conrad Irwin created

3573896 Don't prompt to save unchanged files

Conrad Irwin created

25429f7 ctrl-a/x for vim

Conrad Irwin created

ece4875 v0.107.x dev

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