27216c0
Disable flaky integration test
Max Brunsfeld created
27216c0
Disable flaky integration test
Max Brunsfeld created
098f549
zed 0.101.1
Max Brunsfeld created
65861ce
Search UI polish (#2904)
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
cee6a2c
Add disclosable component (#2868)
This PR adds a disclosable component, related wiring, and uses it to implement the collaboration panel's disclosure of subchannels. It also adds a component test page to make style development easier, and refactors components into v0.2, safe styles (as described in [TWAZ #16](https://zed.dev/blog/this-week-at-zed-16)) Release Notes: - N/A
Mikayla Maki created
95b0dab
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
d8fb9cb
Fix bugs in autoscroll with 'fit' strategy (#2893)
This fixes a bug where text moved up and down by one pixel in the buffer search query editor, while typing. Release notes: * Fixed a bug where editors didn't auto-scroll when typing if all cursors could not fit within the viewport.
Max Brunsfeld created
0fd9713
v0.101.x preview
Joseph T. Lyons created
1bc4f22
Rework element system, phase 1 (#2881)
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)
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)
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
- 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)
Add `$` and `#` and a smoke test for vim-mode respecting the configuration.
Conrad Irwin created
733df38
Checkpoint
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.
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)
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)
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)
[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"
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)
Release Notes: - N/A
Joseph T. Lyons created
f66e686
Add channel id to call events
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.
Co-authored-by: Julia Risley <julia@zed.dev>
Piotr Osiewicz and Julia Risley created
bbe6d3b
Semantic index rough edges (#2871)
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
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.
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.
Add doc comment to JobHandle Co-authored-by: Kyle <kyle@zed.dev>
Piotr Osiewicz and Kyle created
1a88444
Increment job counter on JobClient::new
Co-authored-by: Kyle <kyle@zed.dev>
Piotr Osiewicz and Kyle created
def215a
update job handle to ensure file count is consistent
Co-authored-by: Piotr <piotr@zed.dev>
KCaverly and Piotr created
267c0b9
chore: Update Cargo.lock following rodio PR (#2870)
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)
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