
Release Notes:
- Added a new "Inline Assist" feature that lets you transform a
selection or generate new code at the cursor location by hitting
`ctrl-enter`.
Antonio Scandurra
created
bf67d37
Remove trailing backticks when assistant ends with a trailing newline
7a1b300
Do not blink the cursor if Zed app is focused away (#2907)
Click to expand commit body
Deals with https://github.com/zed-industries/community/issues/1116
Part of https://github.com/zed-industries/community/issues/1098
Use Mac platform callbacks to send a global event and enable/disable
caret blinking in editors when the app is not focused.
Release Notes:
- Stop blinking caret if Zed app is not focused
Kirill Bulatov
created
48d3e2d
Move views_to_notify_if_ancestors_change to Window
Nathan Sobo
created
2e7356a
Store new_parents on Window instead of layout context
Nathan Sobo
created
42cd257
Remove text style stack from LayoutContext
Nathan Sobo
created
81957c4
Merge remote-tracking branch 'origin' into divs
Nathan Sobo
created
d365059
Fix find_{,preceding}boundary to work on buffer text
Click to expand commit body
Before this change the bounday could mistakenly have happened on a soft
line wrap.
Also fixes interaction with inlays better.
Conrad Irwin
created
e3a0252
Make multi-server completion requests not serial
This PR polishes the search bar UI, making the layout more dense, and
the spacing more consistent with the rest of the app. I've also
re-ordered the toolbar items to reflect some of @iamnbutler's original
search designs. The items related to the search query are on the left,
and the actions that navigate the buffer (next, prev, select all, result
count) are on the right.
Max Brunsfeld
created
4f8b95c
add proper handling for open ai rate limit delays
KCaverly
created
0e6c918
Woooooops, don't notify the language server until initialized
Julia
created
100870a
Do not blink the cursor if Zed window is focused away
This changes vim motions to be relative to fold lines, not display
lines, to match the behaviour of vim.
This is necessary for relative line numbers to make sense (as the most
important thing is you can do `3j` to get th e line that is numbered 3).
Release Notes:
- vim: Fix handling of motions when `soft_wrap` is enabled in zed. Like
in vim `j,k,up,down,$,^,0,home,end` will all now navigate in file
coordinates not display coordinates.
- vim: Add `g {j,k,up,down,$,^,0,home,end}` to navigate in display
coordinates.
- vim: Add `z o` and `z c` to open and close folds.
- vim: Add `z f` in visual mode to fold selection.
Note: this may be a jarring change if you're grown used to the current
behaviour of `j` and `k`. You can make the issue less acute by setting
`"soft_wrap":"none"` in your settings; or you can manually copy the
bindings for `g j` to the binding for `j` (etc.) in your keymap.json to
preserve the existing behaviour.
Conrad Irwin
created
859ac1e
Add a default binding for toggling inlay hints (#2910)
Click to expand commit body
Release Notes:
- Add a `"ctrl-shift-:": "editor::ToggleInlayHints"` default binding
53558bc
Remove baseurl to prevent theme import issue
Nate Butler
created
7ae5ee6
Debounce code action and document highlight requests (#2905)
Click to expand commit body
Lately, I've been finding Rust-analyzer unusably slow when editing large
files (like `editor_tests.rs`, or `integration_tests.rs`). When I
profile the Rust-analyzer process, I see that it sometimes saturates up
to 10 cores processing a queue of code actions requests.
Additionally, sometimes when collaborating on large files like these, we
see long delays in propagating buffer operations. I'm still not sure why
this is happening, but whenever I look at the server logs in Datadog, I
see that there are remote `CodeActions` and `DocumentHighlights`
messages being processed that take upwards of 30 seconds. I think what
may be happening is that many such requests are resolving at once, and
the responses are taking up too much of the host's bandwidth.
I think that both of these problems are caused by us sending way too
many code action and document highlight requests to rust-analyzer. This
PR adds a simple debounce between changing selections and making these
requests.
From my local testing, this debounce makes Rust-analyzer *much* more
responsive when moving the cursor around a large file like
`editor_tests.rs`.
Max Brunsfeld
created
87e25c8
Use model from conversation when available
Antonio Scandurra
created
16422a0
Remember whether include conversation was toggled
15628af
Style language server name in completion menu
Click to expand commit body
Omit in buffers with one or zero running language servers with the
capability to provide completions
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
Julia
and
Antonio Scandurra
created
ea0e5e8
chore: Use IsTerminal trait instead of relying on libc to detect stdout being a terminal (#2908)
Click to expand commit body
IsTerminal was added in 1.70.
Release Notes:
- N/A
Piotr Osiewicz
created
3965587
Testing: Update build script to make local testing easier (#2903)
Click to expand commit body
* `script/bundle -l` will only build for the current architecture and
skip DMG creation. It will also copy to `/Applications`.
* `script/bundle -l "My Bundle"` will name the bundle after your
provided name.
* Passing `-f` will overwrite. Passing `-o` will also open the
application.
Nathan Sobo
created
72413db
Remove the ability to reply to specific message in assistant