Mikayla Maki
a76886c9c1
Update Cargo.toml
2024-01-03 13:55:55 -08:00
Nate Butler
f1a3c3f576
Merge branch 'main' into additional-keybinding-icons
2024-01-03 16:49:34 -05:00
Max Brunsfeld
a44f20c860
Replace zed with zed2 ( #3862 )
2024-01-03 13:33:54 -08:00
Max Brunsfeld
f89c4d2347
Remove stray files
2024-01-03 13:25:04 -08:00
Mikayla Maki
c1d065438b
Update release_nightly.yml
2024-01-03 13:24:37 -08:00
Max Brunsfeld
165590d1b9
Remove unused scripts
2024-01-03 13:22:19 -08:00
Max Brunsfeld
65238ae15d
Fix path to zed languages
2024-01-03 13:22:13 -08:00
Max Brunsfeld
7673f5586c
Fix UI doc test
2024-01-03 13:21:45 -08:00
Max Brunsfeld
6b85fb5012
cargo fmt
2024-01-03 13:13:50 -08:00
Max Brunsfeld and Mikayla
01b483b367
Remove 2 suffix from gpui_macros, fix compile errors in tests
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 13:12:21 -08:00
Max Brunsfeld and Mikayla
75f0670dd6
Remove 2 suffix from gpui
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:59:39 -08:00
Max Brunsfeld and Mikayla
fd7acf1f00
Remove 2 suffix from live_kit_client
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:49:33 -08:00
Max Brunsfeld
05e7bbca97
Merge branch 'main'
2024-01-03 12:43:52 -08:00
Max Brunsfeld and Mikayla
ee573f7906
Remove 2 suffix for theme
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:41:01 -08:00
Max Brunsfeld and Mikayla
e2be87c688
Remove 2 suffix for ui, storybook, text
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:33:51 -08:00
Max Brunsfeld and Mikayla
2e155121f8
Remove 2 suffix for collab, rope, settings, menu
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:29:16 -08:00
Max Brunsfeld and Mikayla
cd818cd329
Remove 3 suffix for git crate
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:11:59 -08:00
Max Brunsfeld and Mikayla
7173f4a82b
Remove 2 suffix for fs, db, semantic_index, prettier
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:09:42 -08:00
Marshall Bowers
7626d54559
Remove unneeded theme dependency
2024-01-03 15:07:08 -05:00
Marshall Bowers
00ce7ddba4
Remove unneeded theme dependency
2024-01-03 15:06:31 -05:00
Marshall Bowers
3fb380b95f
Decouple theme_importer from old GPUI 1 crates ( #3866 )
...
This PR decouples the `theme_importer` from the `theme` and `gpui`
crates.
We achieve this by inlining all of the relevant bits needed to
deserialize Zed1 themes.
This will allow us to continue to import Zed1 themes after we land
#3862 .
Release Notes:
- N/A
2024-01-03 15:03:52 -05:00
Marshall Bowers
7c1713f4a1
Decouple theme_importer from old GPUI 1 crates ( #3866 )
...
This PR decouples the `theme_importer` from the `theme` and `gpui`
crates.
We achieve this by inlining all of the relevant bits needed to
deserialize Zed1 themes.
This will allow us to continue to import Zed1 themes after we land
#3862 .
Release Notes:
- N/A
2024-01-03 15:02:55 -05:00
Max Brunsfeld and Mikayla
f8cb050345
Remove 2 suffix for client, call, channel
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:02:14 -08:00
Max Brunsfeld and Mikayla
8e704c8a47
Remove 2 suffix for lsp, language, fuzzy
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:58:02 -08:00
Max Brunsfeld and Mikayla
cdafb2d039
Remove 2 suffix for project
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:53:34 -08:00
Max Brunsfeld and Mikayla
e0b840925f
Remove 2 suffix for ai, zed_actions, install_ci, feature_flags
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:48:46 -08:00
Max Brunsfeld and Mikayla
74e6eb908f
Remove 2 suffix for assistant, journal
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:14:01 -08:00
Max Brunsfeld and Mikayla
a13a885d6b
Remove 2 suffix for workspace
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:08:51 -08:00
Max Brunsfeld and Mikayla
dcfa67d7dc
Remove 2 suffix for multi_buffer, outline, copilot
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:01:58 -08:00
Max Brunsfeld and Mikayla
602d158320
Remove 2 suffix for editor
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 10:58:57 -08:00
Max Brunsfeld and Mikayla
c6cceb8efe
Remove 2 suffix for picker, feedback
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 10:55:34 -08:00
Max Brunsfeld and Mikayla
8a45a99477
Remove 2 suffix for language_tools, search, terminal_view, auto_update
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 10:52:40 -08:00
Max Brunsfeld and Mikayla
34a9916ae6
Remove 2 suffix for language selector, project panel, recent_projects, copilot_button, breadcrumbs, activity_indicator
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 10:47:33 -08:00
Max Brunsfeld and Mikayla
450537ac2a
Remove 2 suffix for vim, diagnostics, go_to_line, theme_selector, command_palette, file_finder
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 10:42:49 -08:00
Max Brunsfeld and Mikayla
fd5c67835d
Remove 2 suffix for project_symbols, theme_selector
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 10:38:23 -08:00
Max Brunsfeld and Mikayla
6bdf98edcf
Remove 2 suffix for welcome, vcs_menu, quick_action_bar, collab_ui
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 10:30:52 -08:00
Joseph T. Lyons
834d21b20a
v0.120.x dev
2024-01-03 13:27:23 -05:00
Max Brunsfeld and Mikayla
2cbfe91f84
Rename zed2 -> zed
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 10:14:19 -08:00
Max Brunsfeld
45e6917b10
Lay some groundwork for language plugins ( #3837 )
...
This PR adds undocumented functionality for loading custom language
plugins at runtime. I don't intend to expose the functionality to end
users yet, but this will allow the team to test the capability
internally.
### Implementation
There isn't much new code in Zed. Most of the work here is within
Tree-sitter, in PRs https://github.com/tree-sitter/tree-sitter/pull/1864
and https://github.com/tree-sitter/tree-sitter/pull/2840 , which allow
Tree-sitter to load languages from WASM blobs. I've tested the
functionality in Tree-sitter's test suite and via its CLI, but having it
wired into Zed allows us to test the functionality more fully.
### Details
Now, on startup, Zed will look for subdirectories inside of
`~/Application Support/plugins`. These subdirectories are expected to
look similar to the per-language subdirectories in
[`crates/zed2/src/languages`](https://github.com/zed-industries/zed/tree/main/crates/zed2/src/languages ),
except that they also contain a `.wasm` file for the parser itself.
I'll add more details here as I go.
2024-01-03 09:37:42 -08:00
Nathan Sobo
d141366423
Return impl IntoElement in Render and RenderOnce traits ( #3839 )
...
- Returning `IntoElement` because it's more universal than `Element` and
allows us to easily return components.
- Using `impl IntoElement` in `RenderOnce` for consistency, which
requires `Component` to allocate an `AnyElement`. We use a bump
allocated arena anyway for these, and my benchmark doesn't show an
impact.

In this histogram, frames-0 is this PR, frames-1 is main.
Release Notes:
- N/A
2024-01-03 10:37:26 -07:00
Marshall Bowers
1a3386450d
Layout completion single-line documentation to the right of item ( #3845 )
...
Don't love how this turned out, it seems uniform list doesn't tie the
widths of its items together, so there needs to be a set size to fill in
order to put the documentation detail on the right side. That means it
won't be able to shrink for completion lists which don't need the full
width. Zed1 has this same limitation but it would be nice to do it nicer
now
Before

After

Release Notes:
- N/A
2024-01-03 12:01:00 -05:00
Nate Butler
58d4d337e4
Standardize icon naming
2024-01-03 11:45:41 -05:00
Marshall Bowers
30db64ee6b
Merge branch 'main' into completion-menu-detail-layout
2024-01-03 11:44:29 -05:00
Marshall Bowers and Julia
3f292d132c
Tweak styling for inline documentation labels
...
Co-Authored-By: Julia <julia@zed.dev >
2024-01-03 11:44:17 -05:00
Marshall Bowers and Julia
db5c77c0ea
Clip completion labels when they would otherwise overflow their container
...
Co-Authored-By: Julia <julia@zed.dev >
2024-01-03 11:41:15 -05:00
Nate Butler
6a64086b51
Update keybinding rendering
2024-01-03 11:37:49 -05:00
Nate Butler
26fd393afd
Add pageup and pagedown icons and keybinding icons
2024-01-03 11:28:31 -05:00
Nate Butler
f04cb8cf8e
Add return, space, tab, escape keybinding icons
2024-01-03 11:14:33 -05:00
Antonio Scandurra
a6a535bb56
Focus active item when pressing tab in buffer search bar ( #3859 )
...
Release Notes:
- N/A
2024-01-03 16:58:30 +01:00
Marshall Bowers
c99ea81d89
Remove text_ui
...
So we don't regress from #3852 .
2024-01-03 10:56:51 -05:00