Commit log

af21546 collab 0.18.0

Joseph T. Lyons created

72f0efb v0.102.x dev

Joseph T. Lyons created

1bc4f22 Rework element system, phase 1 (#2881)

Click to expand commit body
This is a deep cut. There's still more work to do until we start
building UI with this. I've approached this as additively as possible,
but I've made a few changes to the rest of the code that I think would
be good to upstream before proceeding too much further.

Most of the interesting pieces are in gpui/playground, which is a
standalone binary that opens a single window and renders a new kind of
element. The layout of these new elements is provided by the taffy
layout engine crate, which conforms to web conventions. The idea is that
playground is relatively cheap to build and work on. As concepts
coalesce in playground, we can drop them into gpui and start
transitioning.

Nathan Sobo created

b77e661 Update textmate.json

Joseph T. Lyons created

cd72a42 Mark new crates as publish = false

Nathan Sobo created

b0815bd vim: Rewrite paste (#2878)

Click to expand commit body
A complete overhaul of the way vim did paste. This ended up being more
involved than I expected because of the variety of different behaviors
that vim exhibits when copying/pasting between various modes.

Release Notes:

- vim: support P for paste before
([#1869](https://github.com/zed-industries/community/issues/1869)).
- vim: support P in visual modes for paste without overriding clipboard
- vim: fix position when using `p` on text copied outside zed
([#469](https://github.com/zed-industries/community/issues/469)).
- vim: fix indentation when using `p` on text copied from zed
([#1015](https://github.com/zed-industries/community/issues/1015)).
- all: Separate copied multi-selections by `\n`

Conrad Irwin created

d375f79 Merge branch 'main' into divs

Nathan Sobo created

27ba77b Ensure editor clipboard contains \n too

Conrad Irwin created

215a922 vim: Dismiss menu in insert mode with escape (#2879)

Click to expand commit body
Release Notes:

- vim: Fix escape to dismiss suggestions in insert mode.

Conrad Irwin created

ef07779 vim: Dismiss menu in insert mode with escape

Conrad Irwin created

33d7fe0 Rewrite paste

Click to expand commit body
- vim: support P for paste before
- vim: support P in visual mode for paste without overriding clipboard
- vim: fix position when using `p` on text copied outside zed
- vim: fix indentation when using `p` on text copied from zed

Conrad Irwin created

31db5e4 Vim z 2819 (#2875)

Click to expand commit body
Add `$` and `#` and a smoke test for vim-mode respecting the
configuration.

Conrad Irwin created

733df38 Checkpoint

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

Nathan Sobo and Antonio Scandurra created

ccb3f67 chore: fmt

Piotr Osiewicz created

ccb9b5d Query char_kind for completion triggers.

Click to expand commit body
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

Piotr Osiewicz and Conrad Irwin created

d3c7f03 Add default bindings for new file and directory (#2877)

Click to expand commit body
Release Notes:

- Added default key bindings for `NewFile` and `NewDirectory` in the
project panel (bound to `cmd-n` and `alt-cmd-n`, respectively).

Joseph T. Lyons created

ebcb395 Add default bindings for new file and directory

Joseph T. Lyons created

3921278 Add more style helpers

Nathan Sobo created

53679ce Checkpoint

Nathan Sobo created

d27cebd Z 2819 (#2872)

Click to expand commit body
This PR adds new config option to language config called
`word_boundaries` that controls which characters should be recognised as
word boundary for a given language. This will improve our UX for
languages such as PHP and Tailwind.

Release Notes:

- Improved completions for PHP
[#1820](https://github.com/zed-industries/community/issues/1820)

---------

Co-authored-by: Julia Risley <julia@zed.dev>

Piotr Osiewicz and Julia Risley created

a836f9c Add a `default_open_ai_model` setting for the assistant (#2876)

Click to expand commit body
[This PR has been sitting around for a
bit](https://github.com/zed-industries/zed/pull/2845). I received a bit
of mixed opinions from the team on how this setting should work, if it
should use the full model names or some simpler form of it, etc. I went
ahead and made the decision to do the following:

- Use the full model names in settings - ex: `gpt-4-0613`
- Default to `gpt-4-0613` when no setting is present
- Save the full model names in the conversation history files (this is
how it was prior) - ex: `gpt-4-0613`
- Display the shortened model names in the assistant - ex: `gpt-4`
- Not worry about adding an option to add custom models (can add in a
follow-up PR)
- Not query what models are available to the user via their api key (can
add in a follow-up PR)

Release Notes:

- Added a `default_open_ai_model` setting for the assistant (defaults to
`gpt-4-0613`).

---------

Co-authored-by: Mikayla <mikayla@zed.dev>

Joseph T. Lyons and Mikayla created

168a213 Add test for word characters in vim

Conrad Irwin created

14fa996 Add # and $ for js

Conrad Irwin created

42b0c5d Remove comment;for real now

Piotr Osiewicz created

bca2d02 Revert "Remove dead comment"

Click to expand commit body
This reverts commit 046759a366a3ed65ae3c0deacbd880ffbfe291f9.

Piotr Osiewicz created

344a09a Rename word_boundaries to word_characters

Piotr Osiewicz created

046759a Remove dead comment

Piotr Osiewicz created

ff7b25c Checkpoint

Nathan Sobo created

3a13795 Add channel id to call events (#2873)

Click to expand commit body
Release Notes:

- N/A

Joseph T. Lyons created

f66e686 Add channel id to call events

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

Joseph T. Lyons and Max Brunsfeld created

6137d88 Merge branch 'main' into Z-2819

Piotr Osiewicz created

00caad2 ..and use it in PHP language config

Piotr Osiewicz created

ab5bd0a Use new char_kind (parameterized by language)

Piotr Osiewicz created

3e8522b WIP: Saved state from Friday.

Click to expand commit body
Co-authored-by: Julia Risley <julia@zed.dev>

Piotr Osiewicz and Julia Risley created

bbe6d3b Semantic index rough edges (#2871)

Click to expand commit body
Small PR aimed at improving a few edge cases for semantic indexing large
projects.

Release Notes (Preview-only).

- Batched large files with a number of documents greater than
EMBEDDINGS_BATCH_SIZE.
- Ensured that the job handle counting mechanism is consistent with
inner file batching.
- Updated tab content names for semantic search, to match text/regex
searches.

Kyle Caverly created

c68b518 chore: fix compiler warning

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

Piotr Osiewicz and Kyle created

67a48ec project_search: use search history's current entry as a tab name.

Click to expand commit body
Previously the tab name for Semantic Search was not updated, as we didn't have an active query to go off of

Co-authored-by: Kyle <kyle@zed.dev>

Piotr Osiewicz and Kyle created

61041b0 Do not attempt to reindex a file if previous attempts have failed.

Click to expand commit body
Add doc comment to JobHandle

Co-authored-by: Kyle <kyle@zed.dev>

Piotr Osiewicz and Kyle created

1a88444 Increment job counter on JobClient::new

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

Piotr Osiewicz and Kyle created

def215a update job handle to ensure file count is consistent

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

KCaverly and Piotr created

267c0b9 chore: Update Cargo.lock following rodio PR (#2870)

Click to expand commit body
That's merely a follow-up to a previous PR.
Release Notes:
- N/A

Piotr Osiewicz created

1cae475 manage for edge case in which file documents are larger than the allowable limit

KCaverly created

9ea0ed3 chore: remove unused features from rodio crate. (#2869)

Click to expand commit body
This reduces our dep count by 1% at the expense of not supporting
playback of .flac, .mp3 and .vorbis formats. We only use .wav anyways.


Release Notes:
- N/A

Piotr Osiewicz created

f4d8763 WIP

Nathan Sobo created

6663d3f Checkpoint

Nathan Sobo created

afff46b Checkpoint

Nathan Sobo created

2c6f692 Checkpoint

Nathan Sobo created

0747131 Compiling checkpoint

Nathan Sobo created

b7e0350 Update components.rs

Mikayla Maki created

76993f6 WIP: Trying to find a composable approach to styling that plays nice with layout engine

Nathan Sobo created