ZIm/crates
Kirill Bulatov c2d3e74ffb
Allow opening files without project entries (#3497)
Addresses
https://zed-industries.slack.com/archives/C04S5TU0RSN/p1701428432093989
by allowing to open a buffer without a corresponding project `Entry`.
This means that now, we can remove the "fake worktree" requirement and
open files without creating any (the PR does not do this step yet, but
prepares the code for it).

In addition, the PR fixes glob matching code and adds more tests on
excluded files queries.

Release Notes:

- Fixed search query inclusions/exclusions working incorrectly
- Fixed excluded files being opened via CLI and failing or spoiling
project tree view
2023-12-05 16:33:30 +02: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 Add gpt-4-1106-preview model 2023-11-14 08:28:57 -05:00
assistant Add some text to clarify no api key state 2023-11-30 11:20:51 -05: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 Fix retrieval of app version in auto_update2 2023-12-01 12:52:26 -08:00
breadcrumbs
breadcrumbs2 I'm a dunce 2023-12-01 11:47:04 -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
collab Integration tests for excluded files 2023-12-05 12:45:44 +02: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 Enable more collab UI features (#3496) 2023-12-04 18:01:11 -08:00
collections
command_palette Fix get_most_public_ancestor 2023-10-17 09:41:34 -06:00
command_palette2 Fix context key matching 2023-12-04 21:28:37 +00:00
component_test
context_menu
copilot Port buffer reload bug fixes back to gpui1 crates 2023-11-16 16:03:14 -08:00
copilot2 Fix up copilot2 test 2023-12-04 16:26:34 +01: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 Update diagnostics style 2023-12-01 14:52:17 -05:00
drag_and_drop
editor Allow to include gitignored files into project search (#3394) 2023-11-23 19:28:11 +02:00
editor2 Editor2 tests (#3486) 2023-12-05 14:52:20 +01:00
feature_flags
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
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 Make DismissEvent a unit struct 2023-11-29 09:42:54 -08:00
gpui Implement most core actions 2023-11-14 00:06:33 -08:00
gpui2 Editor2 tests (#3486) 2023-12-05 14:52:20 +01: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
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 Avoid panic with outline highlight ranges 2023-12-04 15:37:34 -05:00
language_selector
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
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 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
outline2 zed2: Port outline view 2023-12-04 11:44:32 -05:00
picker
picker2 Get ChannelModal opening 2023-12-02 00:57:41 -07: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 Port to gpui2 2023-12-05 16:13:39 +02:00
project_symbols
quick_action_bar Hide inlay hints toggle if they are not supported by the current editor 2023-09-26 23:52:11 +02:00
recent_projects
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 Rename button-related enums (#3463) 2023-11-30 12:04:23 -05:00
semantic_index Use 'any-match?' predicate in elixir embedding query 2023-11-27 15:06:20 -08:00
settings
settings2 Refactorings 2023-11-17 13:23:12 -07: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 Fix cursor styles not displaying properly (#3493) 2023-12-04 16:40:53 -05:00
sum_tree
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 Port to gpui2 2023-12-05 16:13:39 +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 Ensure disabled buttons don't have interaction styles 2023-12-04 09:37:56 -05:00
theme_importer theme_importer: Support importing themes containing comments (#3298) 2023-11-09 19:22:15 -05:00
theme_selector
theme_selector2 Fix panic opening the theme selector 2023-12-05 15:12:37 +01:00
ui2 Enable more collab UI features (#3496) 2023-12-04 18:01:11 -08:00
util Add project search in gitignored test 2023-12-05 12:45:44 +02:00
vcs_menu vcs_menu: Fix a circular view handle in modal picker. 2023-10-25 18:34:14 +02:00
vim wip 2023-11-01 13:53:45 -06:00
welcome Checkpoint 2023-10-23 11:06:58 +02:00
welcome2 Implement Selectable for ListItem and ListHeader 2023-11-30 13:26:12 -05:00
workspace Ignore excluded files on worktree entry refresh 2023-12-05 12:30:29 +02:00
workspace2 Port to gpui2 2023-12-05 16:13:39 +02:00
xtask
zed Ignore excluded files on worktree entry refresh 2023-12-05 12:30:29 +02:00
zed-actions Port journal to GPUI2 2023-10-28 11:37:25 -04:00
zed2 Port to gpui2 2023-12-05 16:13:39 +02:00
zed_actions2 Re-implement actions as derive macros instead of blanket impls 2023-11-16 17:32:02 -08:00