0e6c918
Woooooops, don't notify the language server until initialized
Julia 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
co-authored-by: Max <max@zed.dev>
Kirill Bulatov and Max created
dd57707
vim: Fix relative motions (#2888)
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)
Release Notes: - Add a `"ctrl-shift-:": "editor::ToggleInlayHints"` default binding
Kirill Bulatov created
e89ccf2
Remove unused `label_button`
Nate Butler created
f0ab27a
Reorder "Select All" button
Nate Butler created
bbb222b
Add a default binding for toggling inlay hints
Kirill Bulatov created
f626c61
Update action_button style
Nate Butler created
f6faeea
Add disabled as an option on text_button
Nate Butler created
05da4b7
Update spacing, button heights
Nate Butler created
a5b12d5
Add margin and padding functions
Nate Butler created
53558bc
Remove baseurl to prevent theme import issue
Nate Butler created
7ae5ee6
Debounce code action and document highlight requests (#2905)
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
Antonio Scandurra created
84b9c22
Merge branch 'main' into ai-refactoring
Nathan Sobo created
2d41130
Use preview server when not on stable
Nathan Sobo created
df377d5
Use Inline Assist across the board
Antonio Scandurra created
15628af
Style language server name in completion menu
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)
IsTerminal was added in 1.70. Release Notes: - N/A
Piotr Osiewicz created
3965587
Testing: Update build script to make local testing easier (#2903)
* `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
Antonio Scandurra created
2332f82
More polish
Antonio Scandurra created
08df244
Delete less aggressively
Antonio Scandurra created
c2b60df
Allow including conversation when triggering inline assist
Antonio Scandurra created
1c6964e
Trim off surrounding `[]` when parsing terminal hover links (#2906)
Follow-up of https://github.com/zed-industries/zed/pull/2899 Terminal has to accept `[` and `]` as valid word parts, due to `[slug].tsx` being a valid file name. Yet, terminal has to exclude these to match paths in strings like `[/some/path/[slug].tsx]`. Release Notes: - N/A
Kirill Bulatov created
7c498fe
Trim off surrounding `[]` when parsing terminal hover links
Terminal has to accept `[` and `]` as valid word parts, due to `[slug].tsx` being a valid file name. Yet, terminal has to exclude these to match paths in strings like `[/some/path/[slug].tsx]`.
Kirill Bulatov created
791f6cf
Update some tests to reflect code action debouncing
Max Brunsfeld created
5142049
Demote some Peer logging to trace level
Max Brunsfeld created
89eab78
Debounce document highlight and code actions requests
Max Brunsfeld created
70bea75
Change cycle mode action to reflect new mode button order
Max Brunsfeld created
3eee282
Overhaul search bar layout
* Use a single row, instead of centering the search bar within a double-row toolbar. * Search query controls on the left, navigation on the right * Semantic is the final mode, for greater stability between buffer and project search. * Prevent query editor from moving when toggling path filters
Max Brunsfeld created
78f9a1f
Remove padding from workspace toolbar, increase its content height to compensate
The padding makes it difficult to layout toolbar items correctly when they are more than one row tall.
Max Brunsfeld created
bb448b9
Don't add a quick actions toolbar item for non-editor views
Rather than adding primary toolbar item that renders as empty, don't add an item at all. This prevents spurious spacing from being added after other primary toolbar items.
Max Brunsfeld created
9521f6d
Simplify implementation of flex with spacing
Max Brunsfeld created
a1d2ae3
Add -l option to build script
When you pass -l, we build for the local architecture only and copy the resulting app bundle to /Applications. You can provide a bundle name as an optional argument.
Nathan Sobo created
35b7787
Add Tailwind server to TSX
Julia created
0435467
Remove search dismiss button
Max Brunsfeld created
9aad602
chore: Bump memchr to 2.6.0 (#2902)
Fresh off the press, memchr 2.6.0 adds vector search routines for aarch64. That directly improves our search performance for both text and regex searches. Per BurntSushi's claims, the simple string searches in ripgrep got ~2 times faster (more details available in https://github.com/BurntSushi/memchr/pull/129). Release Notes: - N/A
Piotr Osiewicz created
ded6dec
Initial unstyled language server short name in completions
Co-Authored-By: Kirill Bulatov <kirill@zed.dev>
Julia and Kirill Bulatov created
ccec593
:memo:
Antonio Scandurra created
52e1e01
Allow redoing edits performed by inline assistant after cancelling it
Antonio Scandurra created
b9df85e
Remove todo.md
Antonio Scandurra created
8c4d2cc
Close inline assist when the associated transaction is undone
Antonio Scandurra created
c587cf6
Remove ellipsis from tooltip
Antonio Scandurra created
44f554f
Merge remote-tracking branch 'origin/main' into ai-refactoring
Antonio Scandurra created
1fb7ce0
Show icon to toggle inline assist
Antonio Scandurra created
d804afc
Don't auto-indent when the assistant starts responding with indentation
Antonio Scandurra created
07b9c6c
language: Make Buffer::new take an explicit ID (#2900)
See Linear description for the full explanation of the issue. This PR is mostly a mechanical change, except for the one case where we do pass in an explicit `next_id` instead of `model_id` in project.rs. Release Notes: - Fixed a bug where some results were not reported in project search in presence of unnamed buffers.
Piotr Osiewicz created
937aabf
Extract a `strip_markdown_codeblock` function
Antonio Scandurra created