Commit log

e4f4974 Group modal assistant edits into the same transaction

Click to expand commit body
Co-Authored-By: Kyle Caverly <kyle@zed.dev>

Antonio Scandurra and Kyle Caverly created

569d99a Add hover styling support

Nathan Sobo 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

d323844 :art:

Antonio Scandurra created

09fd99b moved semantic_index project intialization to queue and channel method

KCaverly created

2e1a4b2 Adjust scoring

Antonio Scandurra created

aa6d658 Add basic styling

Antonio Scandurra created

a2671a2 Highlight text when the diff is the same

Antonio Scandurra created

7b17030 Shorten setting name

Joseph T. Lyons created

711f156 WIP

Joseph T. Lyons created

a935830 Delete unused imports

Antonio Scandurra created

c293505 Support multi-byte characters in diff

Antonio Scandurra created

a9871a7 Add randomized tests for incremental diff

Antonio Scandurra created

b77e661 Update textmate.json

Joseph T. Lyons created

a394aaa Add Tailwind server to JS/TS

Julia created

68408f3 Add VSCode CSS language server & add Tailwind to .css files

Julia created

affb73d Only generate workspace/configuration for relevant adapter

Julia 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

471810a WIP

Click to expand commit body
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>

Joseph T. Lyons and Julia 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

3a511db :art:

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

328b7e5 reorganized to stop the race

KCaverly created

aabdfa2 working on initialization + index breakup

KCaverly created

69b6967 Integrate the new diff algorithm into the modal assistant

Antonio Scandurra created

1ae5a90 Start on a custom diff implementation

Antonio Scandurra created

ced2b2a reworked ProjectState to include additional context

KCaverly created

814896d Reenable html, remove emmet due to the lack of the code

Kirill Bulatov created

a35b3f3 Expand word characters for html and css

Kirill Bulatov created

007d1b0 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

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

5453553 WIP

Antonio Scandurra 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