Kirill Bulatov
49f7129b68
Enfoce no dbg! and todo! in Rust code via clippy lints in the CI job
2024-01-11 00:26:46 +02:00
Conrad Irwin
a021f69da3
Ensure focus_in and focus_out fire on window activation ( #3993 )
...
Also:
- Rename cx.on_blur to cx.on_focus_lost
- Fix a bug where notify calls in focus handlers were ignored
- Fix a bug where vim would get stuck in the wrong mode when switching
windows
Release Notes:
- (preview only) vim: fix switching between multiple windows
2024-01-10 10:00:07 -07:00
Conrad Irwin
c2fb3b071c
guest promotion ( #3969 )
...
Release Notes:
- Adds the ability to promote read-only guests to read-write
participants in calls
2024-01-09 22:21:13 -07:00
Conrad Irwin
a8fe6c1755
Ensure focus-sensitive tests have active windows
2024-01-09 21:38:06 -07:00
Conrad Irwin
a3f79d31f8
Ensure focus_in and focus_out fire on window activation
...
Also:
- Rename cx.on_blur to cx.on_focus_lost
- Fix a bug where notify calls in focus handlers were ignored
- Fix a bug where vim would get stuck in the wrong mode when switching
windows
2024-01-09 20:55:00 -07:00
Mikayla
3149f61fee
Remove the last of the major todos
2024-01-09 16:14:54 -08:00
Conrad Irwin
71ef720072
Allow adding write access to guests
2024-01-08 22:02:56 -07:00
Piotr Osiewicz and Marshall Bowers
f90b05b716
Display setting documentation in settings.json ( #3936 )
...
Let this screenshot of settings.json speak for itself:

Release Notes:
- Added code completion & on-hover documentation to Zed's settings.json
file.
---------
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com >
2024-01-08 19:30:18 +01:00
Conrad Irwin and Max
690159001b
Tidy up TestContext lifecycle
...
Co-Authored-By: Max <max@zed.dev >
2024-01-05 16:31:41 -07:00
Max Brunsfeld and Mikayla
450537ac2a
Remove 2 suffix for vim, diagnostics, go_to_line, theme_selector, command_palette, file_finder
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 10:42:49 -08:00
Conrad Irwin
0c60a7951d
hah, oops
2023-12-12 18:54:35 -07:00
Conrad Irwin
baa3f7710a
COmment out tests again for now
2023-12-11 11:40:54 -07:00
Conrad Irwin
e356a7df09
vim2 compiling (but mostly commented out)
2023-12-08 18:47:14 +00:00
Piotr Osiewicz and Antonio
ae842f7bf2
Start out Copilot2;
...
Add hidden_action_types to CommandPaletteFilter.
WindowContext.available_actions now returns global actions as well.
Co-authored-by: Antonio <antonio@zed.dev >
2023-12-05 14:57:20 +01:00
Conrad Irwin
9f3bdfa2c0
Don't use function_name in vim tests
2023-10-25 23:26:57 +02:00
Conrad Irwin
480c33efed
Fix infinite loop in select all ( #3154 )
...
[[PR Description]]
Release Notes:
- Fixed an infinite loop in select all matches
([#2170 ](https://github.com/zed-industries/community/issues/2170 )).
2023-10-24 02:58:48 -06:00
Conrad Irwin
84ac6a4401
Fix character selection
2023-10-24 10:50:08 +02:00
Conrad Irwin
3a1846689c
Fix infinite loop in select all
2023-10-23 16:08:12 +02:00
Conrad Irwin
3227c45af6
Fix neovim tests with angle brackets
2023-10-22 22:24:35 -06:00
Conrad Irwin
70441d86fe
Add | as a bracket and a motion
...
Although vim/nvim doesn't have | as brackets, it's common in langauges like Rust
and Ruby, and I expect it to work.
2023-10-22 22:17:34 -06:00
Conrad Irwin
92e91e5b45
Fix some bugs with vim objects
...
- softwrap interaction
- correct selection if cursor is on opening marker
2023-10-22 21:44:34 -06:00
Conrad Irwin
d1bef9f6f2
pixel columns ( #3052 )
...
@ForLoveOfCats and I found a few speedups that make this acceptably fast
(able to update ~10k selections in <100ms), so the remaining work here
is to fix the tests, and then ship!
Release notes:
- Updated up/down to work based on pixel positions
([#1966 ](https://github.com/zed-industries/community/issues/1966 ))
([#759 ](https://github.com/zed-industries/community/issues/759 ))
- vim: Fixed off-by-one in visual block mode
([2123](https://github.com/zed-industries/community/issues/2123 ))
2023-10-20 15:01:27 -06:00
Conrad Irwin
8415926840
Hide any circumstantial evidence that this didn't work perfectly first
...
time
2023-10-20 14:45:37 -06:00
Conrad Irwin
7186969334
Fix bug in vim visual block mode
2023-10-20 11:49:10 -06:00
Conrad Irwin and Marshall
2f44151be4
Add "workspace: Toggle Vim Mode"
...
Co-Authored-By: Marshall <elliott.codes@gmail.com >
2023-10-20 11:41:13 -06:00
Conrad Irwin
83d315d720
Fix single column vim selections
2023-10-20 11:17:19 -06:00
Conrad Irwin
fbbf36d152
Merge branch 'main' into pixel-columns
2023-10-18 23:00:56 -06:00
Conrad Irwin
3d5cbcaad1
Refactor TextLayoutDetails construction
2023-10-18 22:56:11 -06:00
Conrad Irwin
7436ed4d45
Make vim visual block work better
2023-10-18 22:23:06 -06:00
Conrad Irwin
01cb073a7c
Don't wrap on paragraphs ( #3094 )
...
Release Notes:
- vim: `{` and `}` will no longer wrap around end of file
([#2116 ](https://github.com/zed-industries/community/issues/2116 )).
2023-10-10 19:25:40 -06:00
Conrad Irwin
503868680c
vim: Add shift-y
2023-10-10 18:46:49 -06:00
Conrad Irwin
ccc2c5fdd6
Use Horizontal ranges everywhere
2023-10-09 21:48:50 -06:00
Conrad Irwin
a1ae399638
Get the project running!
2023-10-09 21:48:31 -06:00
Joseph T. Lyons
d6a8dee1b2
Add enable vim mode checkbox to welcome screen
2023-10-08 20:07:59 -04:00
Conrad Irwin
03d8021662
Don't wrap on paragraphs
...
For zed-industries/community#2116
2023-10-06 10:32:15 -06:00
Conrad Irwin
f1dc4708ff
Clear SelectionGoal on input
2023-10-05 09:02:52 -06:00
Conrad Irwin
b3ed440e5c
Fix panic in increment
2023-10-04 15:13:01 -06:00
Max Brunsfeld
d7eea1c383
Switch .leader_replica_id -> .leader_peer_id
2023-09-29 14:16:38 -07:00
Max Brunsfeld
f5459e071e
Merge branch 'main' into allow-following-outside-of-projects
2023-09-29 14:15:33 -07:00
Conrad Irwin
4b61767fe0
vim: Fix accidental visual selection when following
2023-09-29 12:08:25 -06:00
Conrad Irwin
d0e5c86d31
vim: Fix some dw edge cases ( #3058 )
...
Release Notes:
- vim: Fix `dw` on the last word of a line, and on empty lines.
2023-09-28 15:32:29 -06:00
Conrad Irwin
93b2d38756
vim keybinding updates ( #3057 )
...
Release Notes:
- vim: Add ctrl-i to go forward
([#1732 ](https://github.com/zed-industries/community/issues/1732 )).
ctrl-o was already supported.
- vim: Add `g <space>` to open the current snippet in its own file.
- vim: Escape will now return to normal mode even if completion menus
are open (use `ctrl-x ctrl-z` to hide menus, as in vim).
- vim: Add key bindings for Zed's various completion mechanisms:
- - `ctrl-x ctrl-o` to open the completion menu,
- - `ctrl-x ctrl-l` to open the LSP action menu,
- - `ctrl-x ctrl-c` to trigger Copilot (requires configuring copilot),
- - `ctrl-x ctrl-a` to trigger the inline Assistant (requires
configuring openAI),
NOTE: we should add these to the docs before shipping 0.107 to stable.
2023-09-28 15:32:21 -06:00
Conrad Irwin
43eda76653
vim increment ( #3054 )
...
- vim: add ctrl-a/ctrl-x for increment/decrement
2023-09-28 15:32:11 -06:00
Max Brunsfeld
0729b740c9
Merge branch 'main' into allow-following-outside-of-projects
2023-09-28 11:58:28 -07:00
0976bdc78d
Assign unique color indices to room participants, use those instead of replica_ids
...
Co-authored-by: Conrad <conrad@zed.dev >
Co-authored-by: Antonio <antonio@zed.dev >
2023-09-28 11:06:09 -07:00
Conrad Irwin
98914f1155
vim: Fix some dw edge cases
2023-09-27 23:09:09 -06:00
Conrad Irwin
8a1e8314c6
Escape returns to normal mode even if completion is open
...
For zed-industries/community#1746
2023-09-27 21:28:30 -06:00
Conrad Irwin
a9f0d72019
vim: add ctrl-a/ctrl-x
...
For zed-industries/community#1411
For zed-industries/community#619
2023-09-27 19:49:31 -06:00
Conrad Irwin
ba31f4a531
Don't prompt to save unchanged files
2023-09-27 16:07:35 -06:00
Conrad Irwin
6ca8f83ef0
ctrl-a/x for vim
2023-09-27 12:32:01 -06:00