zed/crates
Kirill Bulatov 12b59daa1e
Allow to exclude files from worktrees (#3356)
* Part of https://github.com/zed-industries/community/issues/70

Allows to fully remove from Zed certain files or file groups: no items
will be scanned or added into worktrees, so nothing will be shown in
project tree, project search and go to file would not see those,
corresponding FS events will be ignored.

One exclusion is .git files: those are still not shown or accessible by
default, yet tracked in the worktrees.

By default, is configured to 
```json
  "file_scan_exclusions": [
    "**/.git",
    "**/.svn",
    "**/.hg",
    "**/CVS",
    "**/.DS_Store",
    "**/Thumbs.db",
    "**/.classpath",
    "**/.settings"
  ],
```

* In addition, contains code preparations for "search in included files"
feature: new SearchOptions variant, search crate and RPC adjustments

Release Notes:

- Added `file_scan_exclusions` section to project settings to completely
ignore certain files in Zed
2023-11-17 23:06:47 +02:00
..
activity_indicator
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 gpt-4-1106-preview model 2023-11-14 08:28:57 -05:00
audio
audio2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
auto_update
breadcrumbs
call Merge branch 'main' into zed2 2023-10-27 10:55:15 +02:00
call2 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
channel Set up UI to allow dragging a channel to the root 2023-10-25 15:39:02 +02:00
channel2 Get workspace compiling with new event emitters 2023-11-08 19:29:00 -08:00
cli
client Mark contact acceptance notifications as read automatically 2023-10-22 12:22:47 +02:00
client2 checkpoint 2023-11-08 23:16:04 -08:00
clock
collab Fix most of the TODOs 2023-11-17 21:40:57 +02:00
collab2 Pass a new query parameter into the search 2023-11-17 21:40:56 +02:00
collab_ui Pass a new query parameter into the search 2023-11-17 21:40:56 +02:00
collab_ui2 Port new workspace logic to gpui2, uncomment most of the workspace2 tests 2023-11-17 22:54:19 +02:00
collections
command_palette Fix get_most_public_ancestor 2023-10-17 09:41:34 -06:00
command_palette2 Merge branch 'main' into managed-view-adjustment 2023-11-17 12:40:44 -08:00
component_test
context_menu
copilot Port buffer reload bug fixes back to gpui1 crates 2023-11-16 16:03:14 -08:00
copilot2 WIP 2023-11-13 15:53:04 -08:00
copilot_button
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 Do not add diagnostics for any selection in the diagnostics panel 2023-11-10 13:35:58 +02:00
drag_and_drop
editor Merge branch 'main' into search-query-suggestion-fixes 2023-11-09 14:18:17 -08:00
editor2 Merge branch 'main' into saving-2 2023-11-16 23:11:38 -08:00
feature_flags
feature_flags2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
feedback
file_finder
file_finder2 Merge branch 'main' into managed-view-adjustment 2023-11-17 12:40:44 -08:00
fs
fs2 port rope2 to zed2 2023-11-03 12:15:23 -04:00
fsevent
fuzzy
fuzzy2 Remove the 2s from source code 2023-11-02 10:55:02 -07:00
git
git3 git -> git3 2023-11-02 19:18:01 -06:00
go_to_line
go_to_line2 Merge branch 'main' into managed-view-adjustment 2023-11-17 12:40:44 -08:00
gpui Implement most core actions 2023-11-14 00:06:33 -08:00
gpui2 Adjust the type arrangement on ManagedViews (#3354) 2023-11-17 13:04:57 -08:00
gpui2_macros Re-implement actions as derive macros instead of blanket impls 2023-11-16 17:32:02 -08: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 Move journal2 to workspace2 2023-11-03 12:55:06 +02:00
language Don't update file's saved mtime when reload is aborted 2023-11-16 18:02:49 -08:00
language2 Don't update file's saved mtime when reload is aborted 2023-11-16 18:02:49 -08:00
language_selector
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 Remove binary target collisions between zed & zed2 2023-11-17 09:56:28 +02:00
live_kit_server Fix notifications for membership changes too 2023-10-19 23:05:06 -06:00
lsp Capture language server stderr during startup/init and log if failure 2023-10-26 12:29:22 +02:00
lsp2 Remove the 2s from source code 2023-11-02 10:55:02 -07: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 Avoid user NPM config/cache & put NodeRuntime installation behind a lock 2023-11-14 14:49:31 -05: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
picker
picker2 +ManagedView 2023-11-16 23:02:10 -07:00
plugin
plugin_macros
plugin_runtime
prettier Do not propose prettier formatters for documents in node_modules/ 2023-11-09 14:49:37 +02:00
prettier2 Merge branch 'main' into editor-tests 2023-11-13 09:54:02 -08:00
project Port new workspace logic to gpui2, uncomment most of the workspace2 tests 2023-11-17 22:54:19 +02:00
project2 Port new workspace logic to gpui2, uncomment most of the workspace2 tests 2023-11-17 22:54:19 +02:00
project_panel Port new workspace logic to gpui2, uncomment most of the workspace2 tests 2023-11-17 22:54:19 +02:00
project_panel2 Allow to exclude files from worktrees (#3356) 2023-11-17 23:06:47 +02:00
project_symbols
quick_action_bar
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 Convert rich_text2 2023-11-02 19:30:33 -06: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 Pass a new query parameter into the search 2023-11-17 21:40:56 +02:00
rpc2 Pass a new query parameter into the search 2023-11-17 21:40:56 +02:00
search Fix most of the TODOs 2023-11-17 21:40:57 +02:00
semantic_index Add gpt-4-1106-preview model 2023-11-14 08:28:57 -05: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
storybook2 Merge branch 'main' into collab_ui2 2023-11-16 22:08:42 -07:00
storybook3 Ooh generics 2023-11-16 22:16:29 -07:00
sum_tree
terminal
terminal2 More compilation fixes 2023-11-16 10:04:18 +02:00
terminal_view
terminal_view2 shhh (#3358) 2023-11-17 14:01:44 -07: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 Add ui_font settings and set default rem size accordingly (#3346) 2023-11-16 15:40:33 -05:00
theme_importer theme_importer: Support importing themes containing comments (#3298) 2023-11-09 19:22:15 -05:00
theme_selector
ui2 Merge branch 'main' into managed-view-adjustment 2023-11-17 12:40:44 -08:00
util Rescan worktree on scan exclusions settings change 2023-11-17 21:40:56 +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
workspace link to channel notes (#3167) 2023-10-25 15:53:34 +02:00
workspace2 Collab ui2 (#3357) 2023-11-17 13:33:18 -07:00
xtask
zed v0.114.x dev 2023-11-15 12:47:40 -05:00
zed-actions Port journal to GPUI2 2023-10-28 11:37:25 -04:00
zed2 Remove binary target collisions between zed & zed2 2023-11-17 09:56:28 +02:00
zed_actions2 Re-implement actions as derive macros instead of blanket impls 2023-11-16 17:32:02 -08:00