Commit log

9f5314e Unify highlights in *Map

Kirill Bulatov created

6c00cd8 Do not combine inlay and text highlights on the *Map level

Kirill Bulatov created

c19c889 add initial search inside modified buffers

KCaverly created

1eb74ac editor: Do not run brace completion on empty text. (#2965)

Click to expand commit body
Users of keyboard layout with IME complained about the peculiar
behaviour where typing in "sss" and then removing all of it left behind
one 's' and also appended a closing brace. This was not reproducible on
a buffer without language, so I've suspected that brace insertion might
be a problem here. For whatever reason when the user removes the last
character from a run that triggered IME, we receive a notification about
an empty insertion. Sadly, brace completion does not handle an empty
input properly and we erroneously insert a closing brace when deleting
the followup characters. In fact, the brace inserted is always the
closing brace for the first entry in language's config.toml 'brackets'
field (see Scheme vs Markdown). This guard also allows for the proper
removal of the first character.

Closes community tickets zed-industries/community#877
zed-industries/community#1329

Z-2869

Release Notes:
- Fixed handling of bracket completion for international keyboard
layouts that use IME. This led to Zed erroneously inserting the `}`
character while removing the first character that triggered IME.

Piotr Osiewicz created

f86e5a9 WIP

Antonio Scandurra created

6a27161 Make path optional when parsing file

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

Antonio Scandurra and Kyle Caverly created

137dda3 wip eval framework for semantic index

KCaverly created

24698b6 Fix toggle replace tooltip (#2964)

Click to expand commit body
Release Notes:

- N/A

Joseph T. Lyons created

15bdff1 Fix toggle replace tooltip

Joseph T. Lyons created

0c1b2e5 cleaned up warnings

KCaverly created

eff44f9 semantic index eval, indexing appropriately

KCaverly created

18c899a Remove dead code for old admin pages

Max Brunsfeld created

4ea6d12 Document that PostgREST needs to be installed for running locally

Max Brunsfeld created

dddd37f Run postgrest as part of foreman

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

Max Brunsfeld and Mikayla created

3910efe Use PostgREST instead of pgAdmin

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

Max Brunsfeld and Mikayla created

974bc07 collab 0.21.0

Joseph T. Lyons created

c4a5caa Get pgadmin loading the passfile

Max Brunsfeld created

a6cb5f9 v0.105.x dev

Joseph T. Lyons created

6f29582 progress on eval

KCaverly created

5697a87 Fix indentation issues when generating or transforming code with inline assistant (#2961)

Click to expand commit body
This pull request extracts a separate `Codegen` struct that models the
interaction with OpenAI and takes care of diffing, auto-indenting and
reporting regions to highlight.

As part of this refactoring, we're now relying less on the AI model to
indent code. The new logic lets tree-sitter decide how the first line
should be indented. Then, for every subsequent line reported by ChatGPT,
it calculates an indent delta relative to the first reported line and
applies it to the indent level chosen by tree-sitter.

Release Notes:

- Improved auto-indentation when using the inline assistant.

Antonio Scandurra created

127d035 Diff lines one chunk at a time after discovering indentation

Antonio Scandurra created

70c9b8f Merge remote-tracking branch 'origin/main' into polish-codegen

Antonio Scandurra created

b8c4375 Never use the indentation that comes from OpenAI

Antonio Scandurra created

94db0be Start work on deploying pgAdmin to k8s cluster

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

Max Brunsfeld and Mikayla created

5483866 Retrieve load balancer certificate id from DigitalOcean on each deploy

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

Max Brunsfeld and Mikayla created

d4fbe99 add eval for gpt-engineer

KCaverly created

0d14bbb add eval values for tree-sitter

KCaverly created

329a072 vim counts (#2958)

Click to expand commit body
Release Notes:

- vim: Fix counts with operators (`2yy`, `d3d`, etc.)
([#1496](https://github.com/zed-industries/community/issues/1496))
([#970](https://github.com/zed-industries/community/issues/970)).
- vim: Add support for counts with insert actions (`2i`, `2o`, `2a`,
etc.)
- vim: add `_` and `g_`

Conrad Irwin created

66c967d start work on eval script for semantic_index

KCaverly created

a63b78d Replace in buffer adjustments (#2960)

Click to expand commit body
This PR addresses feedback from @maxbrunsfeld on new replace in buffer.
It fixes:
- missing padding surrounding replace input.
- missing padding around replace buttons.
- missing `.notify` call which made the replace fields not show up
immediately sometimes.

Release Notes:
- N/A

---------

Co-authored-by: Max <max@zed.dev>

Piotr Osiewicz and Max created

65e0a67 Lsp status bugfix (#2959)

Click to expand commit body
Release Notes:
- Fixed a case where language server download statuses could be skipped.
- Fixed a case where language server diagnostic progress could get stuck
when restarting a language server.

Julia created

c6f2930 Avoid keeping stale LSP progress indicator state when server is removed

Julia created

0958def Remove another supported exemption

Conrad Irwin created

d97c9d8 Merge branch 'main' into chat-again

Max Brunsfeld created

b0facf8 Use unbounded channel(s) for LSP binary status messaging

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

Julia and Antonio Scandurra created

4cb8647 Z 1200/replace in buffer (#2922)

Click to expand commit body
This is still WIP, mostly pending styling. I added a pretty rudimentary
text field and no buttons whatsoever other than that. I am targeting a
Preview of 09.13, as I am gonna be on PTO for the next week.

I dislike the current implementation slightly because of `regex`'s crate
syntax and lack of support of backreferences. What strikes me as odd wrt
to syntax is that it will just replace a capture name with empty string
if that capture is missing from the regex. While this is perfectly fine
behaviour for conditionally-matched capture groups (e.g. `(foo)?`), I
think it should still error out if there's no group with a given name
(conditional or not).
Release Notes:

- Added "Replace" functionality to buffer search.

Piotr Osiewicz created

dcaba9d Remove supported exception

Click to expand commit body
(and refactor tests to be more linear)

Conrad Irwin created

7daed1b Fix 0 used in a count

Conrad Irwin created

c2c5210 Fix bug where cursors became invisible if replaying was interrupted

Conrad Irwin created

1c50587 Remove channel chat participant when connection is lost

Max Brunsfeld created

76d5524 Clear counts when switching modes

Conrad Irwin created

f2112b9 Rejoin channel chats upon reconnecting

Max Brunsfeld created

d868d00 vim: ALlow counts on insert actions

Click to expand commit body
This re-uses the existing repeat infrastructure.

Conrad Irwin created

f53a1ee Put channel call participants back in channel row

Click to expand commit body
Open both the channel notes and the channel chat when clicking a channel

Max Brunsfeld created

cee549e vim: Fix count handling to allow pre/post counts

Click to expand commit body
Fixes 2yy, d3d, etc.

For zed-industries/community#970
For zed-industries/community#1496

Conrad Irwin created

e8a6ecd Allow a count with CurrentLine

Click to expand commit body
Add _ and g_ too while we're here.

Conrad Irwin created

c545788 Add Storybook Components (#2956)

Click to expand commit body
[[PR Description]]

Started building out some early components in the storybook using a
modified version of the classic Atomic Design model @mikayla-maki and I
are exploring.

<img width="1134" alt="atomic_design"
src="https://github.com/zed-industries/zed/assets/1714999/9093a8b5-a71d-41d4-bae2-f7562494c5f3">

This PR adds a few things:

- `tab`, `tab_bar` and `icon_button` components
- Dynamic documentation for the proc macro generated methods like `w_8`,
`px_2`, etc.
- Continues to build out the Zed workspace demo

Release Notes:

- N/A

Nate Butler created

017aa1f Allow installing rustup via homebrew

Kirill Bulatov created

fe6f0a2 Merge remote-tracking branch 'origin/main' into chat-again

Nathan Sobo created

0c2bc6e Fix some international keybindings (#2957)

Click to expand commit body
This adds primitive interaction with the IME system for keyboard
shortcuts in zed.

- Consult the IME functionality when handling keyboard shortcuts. This
allows you to bind to characters (like " on a Brazillian keybaord, or $
on a Czech keyboard) that aren't typed with an unmodified key.
([#1981](https://github.com/zed-industries/community/issues/1981))
([#1913](https://github.com/zed-industries/community/issues/1913))

Co-authored-with: Antonio Scandurra <me@as-cii.com>

Conrad Irwin created