Commit Graph
31406 Commits
Author SHA1 Message Date
Max Brunsfeld b2a5ea65d2 collab 0.12.4 2023-05-18 14:58:57 -07:00
Max Brunsfeld af44cc19cc Avoid unnecessary code action requests when applying leader updates t… (#2489)
We noticed a huge amount of code actions requests being issued by
followers when applying leader updates. It was caused by a call to
`MultiBuffer::remove_excerpts` with an empty list of excerpts to remove.
This PR fixes that by avoiding emitting spurious events when multibuffer
excerpt manipulation methods are called with empty lists.
2023-05-18 14:52:21 -07:00
Max Brunsfeld 0ba61e19b9 Avoid unnecessary code action requests when applying leader updates to an editor 2023-05-18 14:46:23 -07:00
Mikayla Maki dae8bdef76 fmt 2023-05-18 14:31:08 -07:00
Mikayla Maki fced05ea25 Fixed an imprecise join in rejoin room 2023-05-18 14:29:18 -07:00
Max Brunsfeld 39764dc5c1 Improve collab logging (#2487)
This adds some logging to the collab server, to help us identify the
source of the collaboration latency we're seeing in the 0.87 preview
version of zed.
2023-05-18 14:17:17 -07:00
Max Brunsfeld f19a84dfdf collab 0.12.3 2023-05-18 12:27:08 -07:00
Joseph Lyons 2edf8884d6 collab 0.12.2 2023-05-18 12:27:01 -07:00
Max Brunsfeld ca973b874e Log how long it takes to handle each RPC message 2023-05-18 12:24:07 -07:00
Kirill Bulatov dc2bb06214 Add a unit test 2023-05-18 21:53:42 +03:00
Kirill BulatovandMax 5d30032cd1 Show navigation history in the file finder modal
co-authored-by: Max <max@zed.dev>
2023-05-18 21:50:38 +03:00
Kirill Bulatov 912fdd9ac1 Maintain recently opened files history 2023-05-18 21:50:38 +03:00
Julia df2a21a950 Avoid panic in get_injections (#2486) 2023-05-18 13:35:10 -04:00
Julia df8d555a8e Avoid panic in get_injections 2023-05-18 12:23:49 -04:00
Max BrunsfeldandKirill facc88c502 Define empty theme for tests regardless of cargo features
Co-authored-by: Kirill <kirill@zed.dev>
2023-05-18 09:01:38 -07:00
Antonio Scandurra 747aa675d4 WIP 2023-05-18 15:35:46 +02:00
Mikayla Maki 9e797ba1ac WIP: Add persistence to new docks 2023-05-17 17:34:20 -07:00
Max Brunsfeld 72830a4703 Fix crashes when running zed bundled 2023-05-17 16:53:48 -07:00
Max Brunsfeld 7c19f5aa58 Fix release-mode stub for watch_themes 2023-05-17 16:36:06 -07:00
Max Brunsfeld 01007a0c29 Clear buffer font size adjustments when buffer font size setting changes 2023-05-17 16:14:05 -07:00
Max Brunsfeld 91293ddb86 Refresh windows when settings file changes 2023-05-17 16:02:21 -07:00
Max Brunsfeld 0bf36d6c22 Remove unused watched_json file 2023-05-17 16:02:08 -07:00
Max Brunsfeld 5325aec94f Move font size adjustment code to the theme crate 2023-05-17 15:56:32 -07:00
Max Brunsfeld e7f85efbb8 Rename settings::register_setting -> settings::register 2023-05-17 15:06:11 -07:00
Max Brunsfeld 30e678a450 Remove optional path argument when getting settings 2023-05-17 15:05:20 -07:00
Max Brunsfeld 7fbdbffbbc Merge branch 'main' into setting-store 2023-05-17 14:56:35 -07:00
Max Brunsfeld c261a01c7f Define theme/ui text style settings in theme crate 2023-05-17 14:44:59 -07:00
Mikayla Maki 4901d96e9e Add never option to scrollbar settings 2023-05-17 14:19:35 -07:00
Mikayla Maki 98d789f8fc fmt 2023-05-17 14:12:04 -07:00
Mikayla Maki 9d15fa8ab1 Add scrollbars setting 2023-05-17 14:09:26 -07:00
Mikayla Maki 14b2ed1532 Add diff hunks to the scroll bar 2023-05-17 11:40:30 -07:00
Max Brunsfeld 460d6d652a Define base keymap setting in welcome crate 2023-05-17 11:23:09 -07:00
Julia 20f4908b3a Merge pull request #2481 from zed-industries/update-font-kit
Update font-kit to resolve panics when loading malformed fonts
2023-05-17 13:57:39 -04:00
Julia b636bab434 Update font-kit to resolve panics when loading malformed fonts 2023-05-17 13:38:54 -04:00
Max Brunsfeld ca02b558c8 Merge branch 'main' into setting-store 2023-05-17 09:55:24 -07:00
Joseph Lyons 609d65c5a8 v0.88.x dev 2023-05-17 12:39:08 -04:00
Max Brunsfeld beda62739e Customize language settings JSON schema in language crate 2023-05-17 09:26:36 -07:00
94c5c17a02 Drop foreign key constraint from workspaces.dock_pane to panes table
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2023-05-17 18:21:35 +02:00
Antonio ScandurraandMikayla Maki 0d9c78ddc2 Store whether a panel is zoomed in the panel itself
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2023-05-17 17:51:11 +02:00
Antonio ScandurraandMikayla Maki 7105ecbb5b Rebind ctrl-` to toggle terminal panel focus
Also, add `ctrl-~` to create new terminals.

Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2023-05-17 17:35:10 +02:00
Antonio Scandurra 3b3c5bb637 Notify old/new ancestors of the focused view when they change 2023-05-17 17:12:12 +02:00
Antonio Scandurra 4995d3c947 Show a panel/pane as zoomed only if it's the active item in workspace 2023-05-17 15:06:58 +02:00
Max Brunsfeld 09f37a2fe9 Define workspace settings in workspace crate 2023-05-16 20:25:18 -07:00
Max Brunsfeld 2f05e3d502 Define project settings in project crate 2023-05-16 17:45:04 -07:00
Max Brunsfeld a802da9dae Define editor settings in editor crate 2023-05-16 17:30:29 -07:00
Max Brunsfeld 56f2ff64ed Define language settings in the language crate 2023-05-16 17:29:53 -07:00
Julia 6530e40859 Merge pull request #2479 from zed-industries/dont-use-svg-text-feature
Disable usvg's text feature flags to include less dependency code
2023-05-16 18:48:12 -04:00
Julia f0108a9b30 Disable usvg's text feature flags to include less dependency code 2023-05-16 18:44:16 -04:00
Joseph Lyons a9cc8412af Send editor event when saving a new file 2023-05-16 18:16:09 -04:00
Joseph T. Lyons d75cfe1472 Merge pull request #2475 from zed-industries/add-copilot-events
Add events for copilot suggestion accepting and discarding
2023-05-16 17:25:54 -04:00