ZIm/crates
Kirill Bulatov ec798e6574
Pass proper theme colors for inlays and suggestions (#3517)
<img width="1728" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/f6f1e24f-71fe-4a2e-9bcf-9e98861c0da4">


![image](https://github.com/zed-industries/zed/assets/2690773/8434d8a1-ee7e-49c1-9e88-362363225d96)

Now inlays are visible in all zed2 themes, but 
* always have a blue color which is the same as some theme colors
* not other hint-related style changes like font width, background, etc.
seem to exist in the theme, ergo not propagated.

In general though, people want those style changes applied to their
hints, so we might want to do something about it later.
I've left a `// todo!("what about the rest of the highlight style parts
for inlays and suggestions?")` in the corresponding places for that.

Release Notes:

- N/A
2023-12-06 21:54:41 +02:00
..
activity_indicator Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
activity_indicator2 Implement activity indicator in zed2 2023-11-29 17:18:21 -08:00
ai Add gpt-4-1106-preview model 2023-11-14 08:28:57 -05:00
ai2 WIP 2023-12-05 19:27:15 +01:00
assistant Add some text to clarify no api key state 2023-11-30 11:20:51 -05:00
assistant2 Update inline assist styles 2023-12-06 13:52:38 -05:00
audio chore: remove unused features from rodio crate. (#2869) 2023-08-21 11:07:31 +02:00
audio2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
auto_update WIP: 2023-11-17 12:54:16 -08:00
auto_update2 Fix retrieval of app version in auto_update2 2023-12-01 12:52:26 -08:00
breadcrumbs Move breadcrumb style to toolbar 2023-08-29 16:37:48 -04:00
breadcrumbs2 Update breadcrumb rendering (#3505) 2023-12-05 16:34:21 -05:00
call Add timestamp delta to telemetry events 2023-11-19 21:52:28 -05:00
call2 Revert "Decouple workspace from call (#3380)" 2023-12-04 17:05:44 -08:00
channel Set up UI to allow dragging a channel to the root 2023-10-25 15:39:02 +02:00
channel2 Remove gpui (1) dependencies from zed2 2023-11-20 10:46:16 -08:00
cli Code to allow opening zed:/channel/1234 2023-10-05 14:57:45 -07:00
client Disable instance handshake in dev builds 2023-12-04 09:16:04 -05:00
client2 Merge branch 'main' into welcome 2023-11-27 18:55:23 -08:00
clock Remove local timestamps from CRDT operations 2023-08-31 16:23:06 -07:00
collab collab 0.30.0 2023-12-06 12:34:47 -05:00
collab2 Port to gpui2 2023-12-05 16:13:39 +02:00
collab_ui Pass a new query parameter into the search 2023-11-17 21:40:56 +02:00
collab_ui2 Merge remote-tracking branch 'origin/main' into assistant-2 2023-12-06 12:53:02 +01:00
collections Start out Copilot2; 2023-12-05 14:57:20 +01:00
command_palette Start out Copilot2; 2023-12-05 14:57:20 +01:00
command_palette2 Merge branch 'main' into copilot2 2023-12-06 15:13:13 +01:00
component_test Merge branch 'main' into disclosable-component 2023-08-23 16:30:27 -07:00
context_menu Add components example 2023-08-15 03:06:43 -07:00
copilot Start out Copilot2; 2023-12-05 14:57:20 +01:00
copilot2 Factor out LabelLike to share common label styles (#3510) 2023-12-06 11:17:12 -05:00
copilot_button Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
copilot_button2 Remove cx param 2023-12-04 23:35:31 +00:00
db Change from try (reserved keyword) to maybe 2023-10-25 07:10:21 -07:00
db2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
diagnostics Exclude gitignored files' diagnostics from project panel and its indicator. 2023-11-30 15:46:30 +02:00
diagnostics2 Factor out LabelLike to share common label styles (#3510) 2023-12-06 11:17:12 -05:00
drag_and_drop Fix bug in channel rendering 2023-09-20 16:40:29 -07:00
editor Allow to include gitignored files into project search (#3394) 2023-11-23 19:28:11 +02:00
editor2 Pass proper theme colors for inlays and suggestions (#3517) 2023-12-06 21:54:41 +02:00
feature_flags Add feature flags handling to the client, rewrite staff mode to a trait extension style 2023-08-25 17:00:53 -07:00
feature_flags2 Inviting/Responding/Creating Channels... etc. 2023-11-28 22:47:04 -07:00
feedback Add memory and cpu events 2023-10-02 19:35:31 -04:00
file_finder Trim file_finder input queries 2023-11-30 16:05:45 +02:00
file_finder2 Re-introduce auto-height in editor2 (#3471) 2023-12-01 12:02:45 +01:00
fs Revert unnecessary style changes 2023-10-12 16:17:41 +03:00
fs2 port rope2 to zed2 2023-11-03 12:15:23 -04:00
fsevent 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fuzzy Ignore history items' paths when matching search queries 2023-10-09 23:14:32 +03:00
fuzzy2 Start on wiring up render_parsed_markdown 2023-11-24 17:28:59 +01:00
git move git2 to workspace dependency globally 2023-09-19 16:13:47 -04:00
git3 git -> git3 2023-11-02 19:18:01 -06:00
go_to_line Store an AnyWindowHandle in WindowContext 2023-08-08 11:08:37 -06:00
go_to_line2 Factor out LabelLike to share common label styles (#3510) 2023-12-06 11:17:12 -05:00
gpui Implement most core actions 2023-11-14 00:06:33 -08:00
gpui2 Document geometry module and replace zero method with default (#3515) 2023-12-06 12:52:41 -07:00
gpui2_macros Reorganize element-related traits 2023-11-22 11:19:43 -07:00
gpui_macros Suppress unused vars warning generated by gpui macro 2023-11-04 13:54:37 +02:00
install_cli Remove potential osascript hijacking 2023-08-18 17:40:08 -07:00
install_cli2 Implement most core actions 2023-11-14 00:06:33 -08:00
journal Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
journal2 please work 2023-11-18 10:46:35 -08:00
language Fix eslint diagnostics by passing worktree root during workspace init 2023-11-30 11:38:16 +02:00
language2 Pass proper theme colors for inlays and suggestions 2023-12-06 21:48:39 +02:00
language_selector Add tooltip to language selector 2023-09-08 12:41:32 -04:00
language_selector2 zed2: Port outline view 2023-12-04 11:44:32 -05:00
language_tools Reduce max log lines, clean log buffers better 2023-10-17 21:47:21 +03:00
live_kit_client WIP - make livekit work in GPUI2 2023-10-31 14:04:03 -07:00
live_kit_client2 Fix error when building live_kit_client2 for two architectures concurrently 2023-11-20 12:10:35 -08:00
live_kit_server Fix notifications for membership changes too 2023-10-19 23:05:06 -06:00
lsp Declare more supported client capabilities 2023-11-30 12:22:23 +02:00
lsp2 Port to gpui2 2023-11-30 13:07:47 +02:00
media Update rust-bindgen dev-dependencies 2023-06-04 23:34:22 -04:00
menu Position and style the channel editor correctly 2023-08-08 14:06:29 -07:00
menu2 Call init 2023-11-09 13:14:11 -07:00
multi_buffer Extract multi_buffer module out of editor (#3170) 2023-10-25 19:31:47 +02:00
multi_buffer2 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
node_runtime Use proper npm arguments and clean its inherited env vars 2023-11-28 18:39:03 +02:00
notifications Load more notifications when scrolling down 2023-10-22 17:10:21 +02:00
notifications2 Add notifications2 2023-11-08 21:23:31 -08:00
outline feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
outline2 zed2: Port outline view 2023-12-04 11:44:32 -05:00
picker Ensure the picker waits for pending updates 2023-09-20 20:44:26 -06:00
picker2 Get ChannelModal opening 2023-12-02 00:57:41 -07:00
plugin 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
plugin_macros Fix typos 2023-06-02 22:02:19 -04:00
plugin_runtime Fix typos 2023-06-02 22:02:19 -04:00
prettier Clear failed installation task when error threshold gets exceeded 2023-11-29 10:58:22 +02:00
prettier2 Port to gpui2 2023-11-29 11:52:26 +02:00
project Port to gpui2 2023-12-05 16:13:39 +02:00
project2 Port to gpui2 2023-12-05 16:13:39 +02:00
project_panel Ignore excluded files on worktree entry refresh 2023-12-05 12:30:29 +02:00
project_panel2 Merge remote-tracking branch 'origin/main' into assistant-2 2023-12-06 12:53:02 +01:00
project_symbols Add local next LSP adapter 2023-09-21 18:09:02 -07:00
quick_action_bar Hide inlay hints toggle if they are not supported by the current editor 2023-09-26 23:52:11 +02:00
quick_action_bar2 Use a handler instead of an action for clicks 2023-12-06 19:12:01 +01:00
recent_projects WIP 2023-08-10 10:26:48 -06:00
refineable Generalize Refineable derive macro to derive arbitrary traits on the refinement type 2023-11-09 13:23:31 -08:00
rich_text Account for markdown styling in mentions offset calculation. 2023-10-23 12:50:57 +02:00
rich_text2 WIP 2023-11-20 14:46:01 -08:00
rope Port buffer reload bug fixes back to gpui1 crates 2023-11-16 16:03:14 -08:00
rope2 Fix race conditions and bugs in Buffer::reload 2023-11-16 16:03:14 -08:00
rpc Ignore excluded files on worktree entry refresh 2023-12-05 12:30:29 +02:00
rpc2 Port to gpui2 2023-12-05 16:13:39 +02:00
search Parallelize ignored entries for search lookup 2023-11-23 09:53:00 +02:00
search2 Use a handler instead of an action for clicks 2023-12-06 19:12:01 +01:00
semantic_index Use 'any-match?' predicate in elixir embedding query 2023-11-27 15:06:20 -08:00
semantic_index2 Port semantic_index to gpui2 2023-12-05 15:38:36 +01:00
settings Add feature flags handling to the client, rewrite staff mode to a trait extension style 2023-08-25 17:00:53 -07:00
settings2 Get app menus basically working 2023-12-05 16:37:01 -07:00
snippet 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sqlez WIP 2023-11-16 10:40:02 +02:00
sqlez_macros
story Extract Story into separate story crate (#3378) 2023-11-21 13:42:00 -05:00
storybook2 Fix cursor styles not displaying properly (#3493) 2023-12-04 16:40:53 -05:00
sum_tree Ensure collaborators cursor colors are the same in channel buffers as in projects 2023-08-24 11:31:41 -07:00
terminal Add Nushell support to venv activation 2023-10-01 23:38:30 -04:00
terminal2 More compilation fixes 2023-11-16 10:04:18 +02:00
terminal_view Ignore excluded files on worktree entry refresh 2023-12-05 12:30:29 +02:00
terminal_view2 Fix layout for terminal tabs (#3514) 2023-12-06 14:28:31 -05:00
text Don't depend on gpui2 in text 2023-11-03 14:53:08 +01:00
text2 port rope2 to zed2 2023-11-03 12:15:23 -04:00
theme Set up UI to allow dragging a channel to the root 2023-10-25 15:39:02 +02:00
theme2 Pass proper theme colors for inlays and suggestions 2023-12-06 21:48:39 +02:00
theme_importer theme_importer: Support importing themes containing comments (#3298) 2023-11-09 19:22:15 -05:00
theme_selector Add feature flags handling to the client, rewrite staff mode to a trait extension style 2023-08-25 17:00:53 -07:00
theme_selector2 Fix an issue with the text in the theme selector editor not showing (#3501) 2023-12-05 10:59:15 -05:00
ui2 Use a handler instead of an action for clicks 2023-12-06 19:12:01 +01:00
util Merge remote-tracking branch 'origin/main' into assistant-2 2023-12-06 12:53:02 +01:00
vcs_menu vcs_menu: Fix a circular view handle in modal picker. 2023-10-25 18:34:14 +02:00
vim Start out Copilot2; 2023-12-05 14:57:20 +01:00
welcome Checkpoint 2023-10-23 11:06:58 +02:00
welcome2 Get following working 2023-12-05 12:57:23 -08:00
workspace Ignore excluded files on worktree entry refresh 2023-12-05 12:30:29 +02:00
workspace2 Use a handler instead of an action for clicks 2023-12-06 19:12:01 +01:00
xtask Fixup xtask compilation 2023-06-22 18:06:52 +02:00
zed v0.117.x dev 2023-12-06 12:03:59 -05:00
zed-actions Port journal to GPUI2 2023-10-28 11:37:25 -04:00
zed2 Merge remote-tracking branch 'origin/main' into assistant-2 2023-12-06 18:18:58 +01:00
zed_actions2 Re-implement actions as derive macros instead of blanket impls 2023-11-16 17:32:02 -08:00