Commit Graph
25009 Commits
Author SHA1 Message Date
Mikayla Maki 84200eafc3 Fix error where terminal search matches wouldn't be updated when clearing 2023-02-14 09:54:31 -08:00
Julia 613d8be365 Focus pane when clicking on tab bar background 2023-02-14 12:39:29 -05:00
Antonio Scandurra 53f57522ce Merge pull request #2165 from zed-industries/toggle-soft-wrap
Introduce `editor: toggle soft wrap` bound to `alt-z`
2023-02-14 15:27:31 +01:00
Antonio Scandurra 4f6cf66486 Soft wrap at editor width if it's narrower than preferred line length 2023-02-14 15:22:00 +01:00
Antonio Scandurra 7377fd86d9 Use alt-z to toggle soft wrap in active editor
When there isn't a default soft-wrapping for the active editor, we
will soft wrap at the editor width. This is consistent with Visual
Studio Code.
2023-02-14 15:16:06 +01:00
Antonio Scandurra ac843b6178 Merge pull request #2164 from zed-industries/fix-surround-rust-star
Surround with bracket only when opening brace is 1 character long
2023-02-14 14:42:13 +01:00
Antonio Scandurra 9fd611f45f Surround with bracket only when opening brace is 1 character long 2023-02-14 14:36:18 +01:00
Petros Amoiridis 85fed7c88a Introduce reveal_path in Platform
And implement it for MacPlatform, and instead of using an external process to run `open`, use the NSWorkspace selectFile instance method.
2023-02-14 15:14:15 +02:00
Antonio Scandurra b474f44fb0 Merge pull request #2163 from zed-industries/quick-invite-bug
Avoid creating more than one room when inviting multiple people at once
2023-02-14 12:55:21 +01:00
Antonio Scandurra c656fa9e61 Avoid creating more than one room when inviting multiple people at once
Previously, when initiating a call by calling multiple people, only
the first person would get the call while all the others would briefly
show a "pending" status but never get the call.

This would happen because `ActiveCall` was trying to a create a different
room for each person called, because the original room creation hadn't finished
and so a `ModelHandle<Room>` wasn't being store in the active call.

With this commit, only one room can be created at any given time and further
invites have to wait until that room creation is done.
2023-02-14 12:03:30 +01:00
Antonio Scandurra d18709d6fc Fix test that wasn't properly verifying disconnection from livekit 2023-02-14 10:46:29 +01:00
Max Brunsfeld 9f0c45b223 Bump tree-sitter for tree-balancing bugfix 2023-02-13 23:46:44 -08:00
Kay Simmons 068ef8c1fd Merge pull request #2157 from zed-industries/vim-fixes
Vim fixes
2023-02-13 14:21:47 -08:00
Kay Simmons 73d46eaa58 fix build error 2023-02-13 14:12:43 -08:00
Kay Simmons a72fc4fd46 Remove catch all keymap and KeyPressed action 2023-02-13 13:50:37 -08:00
Kay Simmons 033606fa2e fix sqlez warning, introduce tab and enter bindings to vim for inputing tab and enter text when waiting for text 2023-02-13 13:50:37 -08:00
Kay Simmons ab5653a76f More vim fixes and move some more things out of app.rs 2023-02-13 13:50:37 -08:00
Kay Simmons 0cd5e26029 fix issue with single line editors in vim not properly unhooking vim mode bindings 2023-02-13 13:50:37 -08:00
Mikayla Maki acbf7f814a Switch from vec to smallvec 2023-02-13 12:49:57 -08:00
Antonio ScandurraandMax Brunsfeld 53d16a50a6 Limit BufferSnapshot::chunks to the outline item range
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-02-13 19:57:15 +01:00
Nate Butler 55a5218941 Remove unneeded API from theme-tool 2023-02-12 21:04:54 -05:00
Nate Butler 4f4cf7db09 Update colors. 2023-02-12 21:04:31 -05:00
Nate Butler 5911ac31b8 Add gray color families 2023-02-12 20:02:51 -05:00
Nate Butler e11e62605b Generate color meta, document functions and tidy. 2023-02-12 19:45:16 -05:00
Nate Butler cb66bf480d Remove bezier-easing from styles
This was installed in the wrong app
2023-02-12 11:59:36 -05:00
Nate Butler b5a177dcc3 Add initial system palette reference colors 2023-02-12 00:15:41 -05:00
Nate Butler 38bae44813 Test using HSL + curves to build a scale 2023-02-11 23:34:46 -05:00
Joseph T. Lyons a2257038ed Merge pull request #2158 from zed-industries/split-feedback-editor
Split up feedback_editor.rs
2023-02-11 23:19:25 -05:00
Joseph T. Lyons dc193d5714 Merge pull request #2160 from zed-industries/remove-toggle-right-sidebar-command
Remove toggle right sidebar command
2023-02-11 22:17:38 -05:00
Joseph Lyons d27505337b Remove toggle right sidebar command 2023-02-11 21:53:10 -05:00
Nate Butler 9bf04a3c9f Allow passing a chroma color as a start/mid/end color 2023-02-11 21:10:47 -05:00
Nate Butler 3d1237bd47 Document ref/color further 2023-02-11 08:14:13 -05:00
Nate Butler 392ea0d84c Organize 2023-02-11 07:56:41 -05:00
Petros AmoiridisandMikayla Maki 93ad119f31 Include code only on macOS
Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
2023-02-11 11:12:46 +02:00
Kay Simmons 881eacc3dc Split concepts out into self contained files in feedback editor 2023-02-10 22:50:05 -08:00
Nate Butler efa1ebad25 Update chip style 2023-02-10 22:06:03 -05:00
Mikayla Maki 62fe2c68ba Merge pull request #2156 from zed-industries/fix-atelier-cave-license
Update the atelier cave license file
2023-02-10 12:04:36 -08:00
Mikayla Maki c744acdf64 Fix other atelier license 2023-02-10 11:58:25 -08:00
Mikayla Maki 87d7678c45 Update the atelier cave license file 2023-02-10 11:52:31 -08:00
Mikayla Maki 1e7bc9b21b Merge pull request #2154 from zed-industries/fix-tooltip-crash
Don't render tooltip keystroke label if there's no focused view
2023-02-10 11:41:03 -08:00
Petros AmoiridisandMikayla Maki 476cded146 Introduce an open function
And refactor some of the older code to simplify it

Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
2023-02-10 21:11:54 +02:00
Petros AmoiridisandMikayla Maki 2f80dddd3d Introduce reveal_in_finder function
And use this function in a new Reveal in Finder option of the project panel context menu.

Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
2023-02-10 21:11:05 +02:00
Nathan SoboandAntonio Scandurra 02bf26bd5b Don't render tooltip keystroke label if there's no focused view
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
2023-02-10 07:57:01 -07:00
Nate Butler 36d08fec25 Add remaining colors 2023-02-09 23:26:44 -05:00
Nate Butler ed4c7e43d5 Group light and dark scales 2023-02-09 13:41:37 -05:00
Nate Butler 296e232315 WIP: Use algorithm to generate reference color palette
Adapted from @k-vyn/coloralgorithm
Generate colors for our reference palette.
2023-02-09 12:37:05 -05:00
Joseph T. Lyons 7ed8916a85 Merge pull request #2146 from zed-industries/feedback-editor-polish
Feedback editor polish
2023-02-09 10:01:27 -05:00
Antonio Scandurra 1b66d3b8ed Merge pull request #2147 from zed-industries/fix-pyright
Always respond to language server, even when its requests are malformed
2023-02-09 15:52:57 +01:00
Antonio ScandurraandPetros Amoiridis fb600b950c Always respond to language server, even when its requests are malformed
This was causing Pyright to get stuck waiting for a response when sending
us the `workspace/configuration` request. For some reason, after upgrading
to Pyright 1.1.293, `scopeUri` is being sent as an empty string sometimes,
which causes serde to error when trying to deserialize that request.

Co-Authored-By: Petros Amoiridis <petros@zed.dev>
2023-02-09 15:30:10 +01:00
Nate Butler dab1c84bfe List colors for reference palette in theme tool 2023-02-09 00:39:57 -05:00