9b7bd4e
vim: Fix accidental visual selection when following
Conrad Irwin created
9b7bd4e
vim: Fix accidental visual selection when following
Conrad Irwin created
026b3a1
Remove uneeded Workspace::project_remote_id_changed method
Max Brunsfeld created
d9c08de
Revert "Revert "leverage file outline and selection as opposed to entire file""
Antonio Scandurra created
c379a6f
ui: Fix glyph used for option key in `Keybinding` (#3066)
This PR fixes the glyph used for the option key in the new `Keybinding` component. Same fix as in #3065, but applied to the new `Keybinding` component so that we don't regress when switching to GPUI2. <img width="750" alt="Screenshot 2023-09-29 at 10 50 15 AM" src="https://github.com/zed-industries/zed/assets/1486634/8c6147e9-fa05-4804-954c-b8e3b98cbdf0"> Release Notes: - N/A
Marshall Bowers created
488a3ee
ui: Mirror option key in keybindings (#3065)
  Release Notes: - Fixed option key's appearance in keybindings
Piotr Osiewicz created
4dd9c9e
Introduce the ability to include or exclude warnings from project diagnostics (#3056)
 Release Notes: - Added the ability to exclude warnings from project diagnostics. By default, they will be on but they can be disabled temporarily by clicking on the warnings icon. The default behavior can be changed by changing the new `diagnostics.include_warnings` setting.
Antonio Scandurra created
ca0a4bd
Introduce a WorkspaceStore for handling following
Max Brunsfeld created
247c7ef
storybook: Fix kitchen sink story (#3064)
This PR fixes the kitchen sink story in the storybook. Included are some additional changes that make it so the kitchen sink is automatically populated by all of the defined stories. Release Notes: - N/A
Marshall Bowers created
837ec5a
Remove stray file
Max Brunsfeld created
5a15692
:art: Workspace::leader_updated
Max Brunsfeld created
0058702
Remove unused db query method
Max Brunsfeld created
e34ebbc
Remove unused dependencies on theme
Max Brunsfeld created
38a9e6f
Fix removal of followers on Unfollow
Max Brunsfeld created
f26ca08
Mainline GPUI2 UI work (#3062)
This PR mainlines the current state of new GPUI2-based UI from the `gpui2-ui` branch. Release Notes: - N/A --------- Co-authored-by: Nate Butler <iamnbutler@gmail.com> Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com> Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Co-authored-by: Nate <nate@zed.dev> Co-authored-by: Mikayla <mikayla@zed.dev>
Marshall Bowers , Nate Butler , Max Brunsfeld , Marshall Bowers , Piotr Osiewicz , Nate , and Mikayla created
e7ee8a9
vim: Fix some dw edge cases (#3058)
Release Notes: - vim: Fix `dw` on the last word of a line, and on empty lines.
Conrad Irwin created
91adefe
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.
Conrad Irwin created
2f5eaa8
vim increment (#3054)
- vim: add ctrl-a/ctrl-x for increment/decrement
Conrad Irwin created
da964fa
Enable semantic_index by default (#3061)
Release Notes: - Enabled the `semantic_index` setting by default.
Joseph T. Lyons created
e9c1ad6
Undo making project optional on stored follower states
Following works without a project, but following in unshared projects does not need to be replicated to other participants.
Max Brunsfeld created
f965ee9
Enable semantic_index by default
Joseph T. Lyons created
ce940da
Fix errors from assuming all room_participant rows had a non-null participant_index
Rows representing pending participants have a null participant_index. Co-authored-by: Conrad <conrad@zed.dev>
Max Brunsfeld and Conrad created
a8b35eb
Merge branch 'main' into allow-following-outside-of-projects
Max Brunsfeld created
0c95e5a
Fix coloring of local selections when following
Co-authored-by: Conrad <conrad@zed.dev>
Max Brunsfeld and Conrad created
0f39b63
Rename color_index to participant_index
Co-authored-by: Conrad <conrad@zed.dev>
Max Brunsfeld and Conrad created
545b5e0
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>
Max Brunsfeld , Conrad , and Antonio created
3cf7164
Fix text transformation commands for multiple line, single selection cases (#3060)
If you highlight the following block of text (with a single selection): ``` The quick brown fox jumps over the lazy dog ``` and run `editor: convert to upper camel case`, you'll get: ``` TheQuickBrown foxJumpsOver theLazyDog ``` instead of: ``` TheQuickBrown FoxJumpsOver TheLazyDog ``` The same thing happens for `editor: convert to title case`. This happens because [`to_case` crate](https://crates.io/crates/convert_case) doesn't allow the user to define '\n' as a boundary. I wanted to fix this at the lib level, so I filled [an issue](https://github.com/rutrum/convert-case/issues/16) but I never heard back. What's strange is VS Code and Sublime I think both exhibit the same output as we do currently, but I don't personally think this feels right (happy to hear opposing opinions). I'm just doing the naive thing to hack around this limitation of the `to_case` crate. I did some testing and it seems I only need to adjust `editor: convert to title case` and `editor: convert to upper camel case`. The way the other transformations are implemented in `to_case` don't seem to have this issue. Release Notes: - Fixed a bug where running certain text transfomration commands on a single selection covering multiple lines would not transform all selected lines as expected.
Joseph T. Lyons created
a8188a2
Improve file finder ergonomics (#3059)
Deals with https://github.com/zed-industries/community/issues/2086 Part of https://github.com/zed-industries/community/issues/351 Initial: <img width="585" alt="Screenshot 2023-09-28 at 09 50 05" src="https://github.com/zed-industries/zed/assets/2690773/e0149312-dfe3-4b7c-948c-0f593d6f540c"> First query letter input (only two history items match that, both are preserved on top, with their order preserved also) <img width="603" alt="Screenshot 2023-09-28 at 09 50 08" src="https://github.com/zed-industries/zed/assets/2690773/85ab2f4c-bb9c-4811-b8b0-b5c14a370ae2"> Second query letter input, no matching history items: <img width="614" alt="Screenshot 2023-09-28 at 09 50 11" src="https://github.com/zed-industries/zed/assets/2690773/6d380403-a43c-4f00-a05b-88f43f91fefb"> Remove second query letter, history items match again and pop to the top: <img width="574" alt="Screenshot 2023-09-28 at 09 50 15" src="https://github.com/zed-industries/zed/assets/2690773/5981ca53-6bc8-4305-ae36-27144080e1a2"> * allows `file_finder::Toggle` (cmd-p by default) to cycle through file finder items (ESC closes the modal still) * on query typing, preserve history items that match the query and keep them on top, with their ordering preserved * show history items' matched letters Release Notes: - Improve file finder ergonomics: allow cycle through items with the toggle action, preserve matching history items on query input
Kirill Bulatov created
d30385f
Show path matches inside history items matching the query
Kirill Bulatov created
1b5ff68
Show matching search history whenever possible
Kirill Bulatov created
97eabe6
Add tests
Kirill Bulatov created
57a95d1
Preserve matching history items and their order
Kirill Bulatov created
541dd99
Cycle file finder entries on cmd-p
Kirill Bulatov created
81a107f
assets: Add keybinds to replace (#3055)
Release Notes: - N/A
Piotr Osiewicz created
768c991
vim: Fix some dw edge cases
Conrad Irwin created
51b24bb
Add vim-style completion bindings:
Conrad Irwin created
2cb320e
Escape returns to normal mode even if completion is open
For zed-industries/community#1746
Conrad Irwin created
73fc1c1
Add `g space` for option-enter
vimify all the things
Conrad Irwin created
d1baff1
Add ctrl-i to go forward
For zed-industries/community#1732
Conrad Irwin created
dd1cf5c
vim: add ctrl-a/ctrl-x
For zed-industries/community#1411 For zed-industries/community#619
Conrad Irwin created
9246c11
Don't prompt to save unchanged files (#3053)
- don't prompt to save a set of unchanged files when closing (preview-only)
Conrad Irwin created
0e6002d
Fix tests
Antonio Scandurra created
78908bc
Introduce a new `include_warnings` setting under `diagnostics`
Antonio Scandurra created
f603d68
Add an include/exclude warnings toggle in project diagnostics
Antonio Scandurra created
6cebcac
fix tests
Conrad Irwin created
3573896
Don't prompt to save unchanged files
Conrad Irwin created
25429f7
ctrl-a/x for vim
Conrad Irwin created
ece4875
v0.107.x dev
Joseph T. Lyons created
2c05470
Revert "leverage file outline and selection as opposed to entire file" (#3049)
Reverts zed-industries/zed#3040
Kyle Caverly created
b3b3a56
Revert "leverage file outline and selection as opposed to entire file"
Kyle Caverly created
4242b45
Revert "removed stale dbg in assistant from main" (#3048)
Reverts zed-industries/zed#3046
Kyle Caverly created