zed/crates
Nathan Sobo 0fd0b60bd6
vim: Fix code actions menu (#2650)
Fixes: zed-industries/community#1690

I'm not sure this is the correct way to fix this...
* A simpler approach would be to just say `!showing_code_actions` in the
binding file (as `showing_completions` can only happen in insert mode -
and `VimControl` will be false). This seemed a little error prone if
more menus were added in the future.
* A more complicated approach would be to copy the way this is done from
the MouseContextMenu, which registers its own keyboard shortcuts, and as
such uses those when it's open. This seems "more correct", but is a
major refactoring for a very small reward.

Release Notes:

- vim: Fix code actions menu
([#1690](https://github.com/zed-industries/community/issues/1690))
2023-06-27 03:56:08 -06:00
..
activity_indicator Fix up toggles 2023-06-20 16:05:23 -07:00
ai Remove assistant panel zoom test 2023-06-26 19:10:59 +02: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 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
cli Fix typos 2023-06-02 22:02:19 -04:00
client Add installation_id to panic events 2023-06-23 21:02:01 -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 Activate screen-sharing when leader activates a panel 2023-06-15 18:01:30 +02:00
collab_ui Adjust some of the styles to the new Toggleable format 2023-06-20 16:05:23 -07:00
collections Move command palette filter into collections crate 2023-03-28 20:13:17 -07:00
command_palette Fix up toggles 2023-06-20 16:05:23 -07:00
context_menu Remove unescessary enum 2023-06-20 16:05:23 -07:00
copilot Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
copilot_button Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
db WIP 2023-05-22 23:11:27 -06:00
diagnostics Split Interactive into Interactive and Toggleable (#2628) 2023-06-21 15:03:08 -04:00
drag_and_drop Prevent some cases of clipping icons due to pixel coord rounding 2023-05-08 11:42:00 -04:00
editor vim: Fix code actions menu 2023-06-26 21:46:06 -06:00
feedback Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
file_finder Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
fs fmt 2023-06-07 14:20:01 -07:00
fsevent 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fuzzy remove commented line 2023-02-27 12:06:10 -08:00
git Clean up final remaining code paths calling old diff update method 2023-05-25 14:41:09 -04:00
go_to_line Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
gpui Add assistant icons to the toolbar 2023-06-26 16:49:33 +02:00
gpui_macros Add a derive macro for Element 2023-06-25 07:51:50 -06:00
install_cli 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
journal Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
language Rename SumTree::push_tree to ::append (#2626) 2023-06-20 08:37:55 -06:00
language_selector Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
language_tools Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
live_kit_client Implement test stubs 2023-06-15 19:28:59 -07:00
live_kit_server 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
lsp Run LSP response deserialization outside of main thread 2023-06-21 13:20:42 +03:00
media Update rust-bindgen dev-dependencies 2023-06-04 23:34:22 -04:00
menu Remove internal actions from menu crate 2023-04-27 14:29:11 +02:00
node_runtime Source ESLint server from Github rather than 3rd party NPM package 2023-04-28 16:42:36 -04:00
outline Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
picker Enable test-support on editor in tests 2023-05-20 09:54:38 -06: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
project Rename SumTree::push_tree to ::append (#2626) 2023-06-20 08:37:55 -06:00
project_panel Merge remote-tracking branch 'origin/main' into save-conversations 2023-06-23 09:09:42 +02:00
project_symbols Rename on/off states to active/inactive 2023-06-20 16:05:23 -07:00
recent_projects Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
rope Rename SumTree::push_tree to ::append 2023-06-19 19:49:33 -06:00
rpc Bump protocol version 2023-06-09 11:50:15 -07:00
search Re-enable buffer search in assistant 2023-06-23 09:57:31 +02:00
settings Revert "Panic in debug if global settings can't be deserialized from defaults" 2023-06-26 16:03:19 +02:00
snippet 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sqlez Fix typos 2023-06-02 22:02:19 -04:00
sqlez_macros 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
staff_mode 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sum_tree Rename SumTree::push_tree to ::append 2023-06-19 19:49:33 -06:00
terminal Fix typos 2023-06-02 22:02:19 -04:00
terminal_view Remove the nested Pane from the assistant 2023-06-20 18:52:48 -06:00
text Rename SumTree::push_tree to ::append 2023-06-19 19:49:33 -06:00
theme Add hover state to assistant buttons 2023-06-26 17:48:43 +02:00
theme_selector Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
util Save conversations to ~/.config/zed/conversations 2023-06-16 16:15:07 -06:00
vim Fix main compilation 2023-06-25 01:43:58 +03:00
welcome Split out Interactive<T> into Toggle<T> and Interactive<T> 2023-06-20 16:05:20 -07:00
workspace Re-enable buffer search in assistant 2023-06-23 09:57:31 +02:00
xtask Fixup xtask compilation 2023-06-22 18:06:52 +02:00
zed Factor out key name 2023-06-26 13:31:41 -04:00