zed/crates
Marshall Bowers f272881a6b
theme_importer: Improve syntax token matching (#3549)
This PR improves the approach we use to match syntax tokens between Zed
and VS Code in the `theme_importer`.

We now use the list of scopes assigned to each Zed syntax token to rank
the possible candidates in the VS Code and then pick the candidate with
the highest rank.

So far this has proved to provide better colors across the board, but
we'll continue to refine the matching over time.

Release Notes:

- N/A
2023-12-07 22:11:31 -05:00
..
activity_indicator
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 Use the correct icons in AssistantPanel header 2023-12-07 10:53:24 +01:00
audio
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 Show a notification on auto-update check action if updates are disabled 2023-12-07 16:49:27 -08:00
breadcrumbs
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
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
collab collab 0.30.0 2023-12-06 12:34:47 -05:00
collab2 Fix propagation of active item to followers 2023-12-06 12:18:48 -08:00
collab_ui Pass a new query parameter into the search 2023-11-17 21:40:56 +02:00
collab_ui2 Show current user avatar when in a room w/o a shared project 2023-12-07 14:49:32 -08: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 Update pickers to have a consistently larger size 2023-12-06 23:38:47 -05:00
component_test
context_menu
copilot Upgrade async-compression dep 2023-12-06 14:29:09 -08:00
copilot2 Upgrade async-compression dep 2023-12-06 14:29:09 -08:00
copilot_button
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
editor Allow to include gitignored files into project search (#3394) 2023-11-23 19:28:11 +02:00
editor2 Fix confirming rename not working on editor2 2023-12-07 12:54:28 +01:00
feature_flags
feature_flags2 Inviting/Responding/Creating Channels... etc. 2023-11-28 22:47:04 -07:00
feedback
feedback2 Remove when_else 2023-12-07 12:37:07 -05:00
file_finder Trim file_finder input queries 2023-11-30 16:05:45 +02:00
file_finder2 Update file finder style 2023-12-06 11:10:27 -05: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
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
git3 git -> git3 2023-11-02 19:18:01 -06:00
go_to_line
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 In titlebar, render followers and allow following people 2023-12-07 13:09:18 -08:00
gpui2_macros Suppress unused variable r-a warning from action derive procmacro 2023-12-07 16:08:47 +02:00
gpui_macros Suppress unused vars warning generated by gpui macro 2023-11-04 13:54:37 +02:00
install_cli
install_cli2 Implement most core actions 2023-11-14 00:06:33 -08:00
journal
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
language_selector2 Update pickers to have a consistently larger size 2023-12-06 23:38:47 -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
menu
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 Upgrade async-compression dep 2023-12-06 14:29:09 -08: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
outline2 Fix incorrect text style in outline palette, use background highlights for matches 2023-12-07 00:16:24 -05:00
picker
picker2 WIP update picker style 2023-12-06 11:01:22 -05:00
plugin
plugin_macros
plugin_runtime
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
quick_action_bar Add "Toggle Inlay Hints" quick action (#3520) 2023-12-06 16:14:39 -05:00
quick_action_bar2 buffer search: Fix up rough edges 2023-12-07 12:52:34 +01:00
recent_projects
recent_projects2 Move actions to namespaces used in zed1 keybinding settings 2023-12-07 16:08:47 +02: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 Remove unused import 2023-12-07 13:54:51 +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
settings2 Don't load the Vim keymap temporarily (#3522) 2023-12-06 16:59:24 -05:00
snippet
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 Extract Tab component (#3539) 2023-12-07 12:30:43 -05:00
sum_tree
terminal
terminal2 Move actions to namespaces used in zed1 keybinding settings 2023-12-07 16:08:47 +02:00
terminal_view Ignore excluded files on worktree entry refresh 2023-12-05 12:30:29 +02:00
terminal_view2 Add initial OS file drag and drop support 2023-12-07 16:08:48 +02: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 theme_importer: Improve syntax token matching (#3549) 2023-12-07 22:11:31 -05:00
theme_importer theme_importer: Improve syntax token matching (#3549) 2023-12-07 22:11:31 -05:00
theme_selector
theme_selector2 Dismiss theme_selector on esc (#3502) 2023-12-07 09:07:13 +01:00
ui2 Add following UI in collab titlebar (#3544) 2023-12-07 14:38:30 -08: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 Remove padding from ButtonSize::None (#3541) 2023-12-07 14:11:30 -05:00
xtask
zed Upgrade async-compression dep 2023-12-06 14:29:09 -08:00
zed-actions Port journal to GPUI2 2023-10-28 11:37:25 -04:00
zed2 Remove remnants from conflict resolution (#3528) 2023-12-06 23:44:49 -05:00
zed_actions2 Re-implement actions as derive macros instead of blanket impls 2023-11-16 17:32:02 -08:00