zed/crates
Mikayla Maki e945b3c0e1
feat(workspace): add action for closing inactive editors on all panes (#2771)
using zed more and more to develop zed itself I'm finding some small qol
features missing, this is one of them
I'm very used to open two or three splits, and sometimes I want to close
everything except for the active editor, but that wasn't supported, as
the `pane::CloseInactiveItems` action only closes inactive items on the
active pane

so I've implemented it really quick, although I'm not sure it's the
right way to do this

note: I really don't like the default keybinding I've set it to, I have
this action bound to `cmd-shift-w` on all editors, but in zed is taken,
so I chose something that's free but without thinking too much about it

Release Notes:

- Added action for closing inactive editors from all panes
2023-07-27 18:11:11 -07:00
..
activity_indicator Merge branch 'main' into fix-broken-lsp-installations 2023-06-28 16:46:06 -04:00
ai Avoid optional on select_match 2023-07-17 12:49:59 -06:00
audio Update collaboration sounds, add sounds to screensharing 2023-07-04 16:18:42 -04:00
auto_update Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
breadcrumbs Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
call Add microphone toggle events (#2765) 2023-07-20 16:10:20 -04:00
cli Prevent duplicate instances by coordinating via a socket 2023-07-07 14:19:44 -04:00
client Add is_staff to events 2023-07-18 12:32:53 -04:00
clock Fixed a bug where buffer saved clocks would desynchronize in rare execution paths 2023-06-07 16:10:45 -07:00
collab feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
collab_ui Follow naming convention for menu items 2023-07-27 17:13:37 -04:00
collections
command_palette feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
context_menu Introduce a WindowContext::focus method that implies the window id 2023-07-05 09:39:04 +02:00
copilot Merge branch 'main' into fix-broken-lsp-installations 2023-06-28 16:46:06 -04:00
copilot_button Remove on_click_out handler from context menu 2023-06-29 17:10:51 -07:00
db Simplify db tests 2023-07-14 16:09:02 -07:00
diagnostics Split Interactive into Interactive and Toggleable (#2628) 2023-06-21 15:03:08 -04:00
drag_and_drop
editor Fix jumping to definition in a new file (#2803) 2023-07-27 19:10:01 -06:00
feedback Prevent multiple submissions of the same feedback text 2023-07-17 16:10:34 -04:00
file_finder feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
fs Fix pathspec in staged_statuses 2023-07-23 21:36:29 -07:00
fsevent
fuzzy
git
go_to_line Add Modal::has_focus and introduce a ModalHandle trait object 2023-07-05 09:39:56 +02:00
gpui Block extra drag events in original drag handlers 2023-07-26 14:57:46 -07:00
gpui_macros Add a derive macro for Element 2023-06-25 07:51:50 -06:00
install_cli
journal
language fmt 2023-07-27 11:14:21 -07:00
language_selector feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
language_tools Preserve serach index for multicaret selection editor events 2023-07-14 14:47:12 +03:00
live_kit_client fmt 2023-07-19 12:34:56 -07:00
live_kit_server
lsp Add scaffolding of php language server 2023-07-17 11:43:32 +02:00
media Update rust-bindgen dev-dependencies 2023-06-04 23:34:22 -04:00
menu feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
node_runtime Put our downloaded copy of Node in the env for every NPM action 2023-07-21 16:13:00 -04:00
outline feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
picker feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
plugin
plugin_macros Fix typos 2023-06-02 22:02:19 -04:00
plugin_runtime Fix typos 2023-06-02 22:02:19 -04:00
project More git status optimizations (#2779) 2023-07-24 11:23:32 -07:00
project_panel Follow naming convention for menu items 2023-07-26 14:35:23 -04:00
project_symbols feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
recent_projects feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
rope Simplify InlayMap::splice interface 2023-06-29 22:25:49 +03:00
rpc Post-rebase fixes 2023-06-29 22:39:33 +03:00
search remove unused imports 2023-07-26 17:01:44 -04:00
semantic_index removed old code 2023-07-26 17:11:30 -04:00
settings Accept null as a valid action, to disable a keystroke 2023-07-04 21:11:28 +03:00
snippet
sqlez Fix typos 2023-06-02 22:02:19 -04:00
sqlez_macros
staff_mode
sum_tree Maintain cursor stack's position correctly when ascending the tree 2023-07-27 12:34:03 +02:00
terminal Update Alacritty 2023-07-27 12:19:07 -04:00
terminal_view Block extra drag events in original drag handlers 2023-07-26 14:57:46 -07:00
text Remove excessive hint update queries 2023-06-30 22:03:21 +03:00
theme Update status bar theming 2023-07-25 11:06:41 -06:00
theme_selector feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
util Merge branch 'main' of github.com:zed-industries/zed into vector_store 2023-06-30 09:58:13 -04:00
vcs_menu feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
vim Make mode indicator follow vim enabled state 2023-07-27 16:14:56 -07:00
welcome feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
workspace feat(workspace): add action for closing inactive editors on all panes (#2771) 2023-07-27 18:11:11 -07:00
xtask Fixup xtask compilation 2023-06-22 18:06:52 +02:00
zed underscore arguments 2023-07-27 17:19:32 -07:00
zed-actions Add Sign in button for an unregistered user 2023-06-15 22:05:43 -07:00