Commit Graph
5172 Commits
Author SHA1 Message Date
Kay SimmonsandMikayla Maki ff5f2cbed7 Dock persistence working!
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
2022-12-03 16:06:01 -08:00
Kay Simmons 337881b490 wip 2022-12-03 16:06:01 -08:00
Mikayla Makiand 9551bebee2 Rebase - Got Zed compiling and fixed a build error due to conflicting dependencies that cargo didn't catch :(
Co-Authored-By: kay@zed.dev
2022-12-03 16:04:10 -08:00
Max BrunsfeldandAntonio Scandurra 6df9e3995a Fetch missing buffers when adding excerpts to a multibuffer while following
Make FollowableItem::apply_update_proto asynchronous. Use a single
task per workspace to process all leader updates, to prevent updates
from being interleaved.

Co-authored-by: Antonio Scandurra <antonio@zed.dev>
2022-12-01 15:17:51 -08:00
Max Brunsfeld 336cd58526 Replicate multibuffer excerpt additions and removals to followers 2022-11-30 13:20:13 -08:00
Max Brunsfeld ce0c9a8dd4 Start work on following in multi-buffers 2022-11-29 14:50:43 -08:00
Max Brunsfeld 80f0d19ed7 Send full multibuffer anchors to following peers 2022-11-28 18:00:38 -08:00
Max Brunsfeld 6d9d5f0c52 Emit events from a multibuffer when adding/removing excerpts 2022-11-28 17:57:55 -08:00
Max Brunsfeld 38699bcbb0 Implement Copy for multibuffer anchors 2022-11-28 14:18:49 -08:00
Max Brunsfeld 883d683ee8 Add a layer of indirection between excerpt ids and locators 2022-11-28 14:18:49 -08:00
Julia d854ed5246 Merge pull request #1910 from zed-industries/lsp-coordinate-clamp
Don't trust LSP coordinates to be within document bounds
2022-11-23 14:07:37 -05:00
Julia 10927128bd Bump protocol version back down as proto changes are non-breaking 2022-11-23 13:40:49 -05:00
Julia 06895033f3 Fixup compile errors 2022-11-22 02:49:47 -05:00
Max Brunsfeld 4ea6ac1c42 Fix file extension retrieval for single-file worktrees
Previously, we used the file's 'path' method, which only returns the relative
path from the worktree root.
2022-11-21 12:34:36 -08:00
Julia c4eca8274a Rename clamped -> clipped 2022-11-21 15:23:00 -05:00
Julia 1ca040ee67 Clamp UTF-16 to point conversions 2022-11-21 14:25:01 -05:00
Mikayla Maki 470afffc89 Fix unscaled scrolling when using an imprecise mouse wheel 2022-11-16 10:44:13 -08:00
Julia 3c48d9b6d9 Merge pull request #1871 from zed-industries/skip-additional-edit-within-primary
Skip LSP additional completion edits which fall within primary edit
2022-11-11 10:31:41 -05:00
Antonio Scandurra 2026f33494 Merge pull request #1870 from zed-industries/fix-remote-abs-paths
Fix bug where absolute paths of worktrees were not being stored on the server
2022-11-11 15:28:17 +00:00
Julia 0c906ab7de Test for filtering out of faulty LSP completion additional edits 2022-11-11 10:28:07 -05:00
Kay Simmons c70520c64e Merge pull request #1867 from zed-industries/drag-project-entry-to-pane
Drag project entry to pane
2022-11-10 17:25:22 -08:00
Nathan SoboandAntonio Scandurra 4be3276806 Avoid unwrapping when computing tab description
A bug caused the assumptions of this method to be violated. We will fix that in the next commit, but we want to be more conservative in our assumptions here going forward.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2022-11-10 09:33:57 -07:00
Kay Simmons 249df2495a Split and move to pane working 2022-11-08 14:19:31 -08:00
Mikayla Maki df62cba2ef Tried alternate stratergy 2022-11-08 11:54:26 -08:00
Mikayla Maki d4d763bde6 Added more autoscroll behaviors 2022-11-08 11:35:12 -08:00
Kay Simmons 82e79dd06c Merge pull request #1845 from zed-industries/vim-dd-fix
Vim dd fix
2022-11-04 14:57:21 -07:00
Antonio Scandurra 51d9f7995c Show placeholder text for pickers 2022-11-04 10:18:47 +01:00
Antonio Scandurra 00c37fe9a1 Show the cursor right away when opening opening/focusing editors 2022-11-04 10:18:47 +01:00
Kay Simmons 404f51643c fix some vim mode bugs around deletions and failed motions 2022-11-02 01:20:11 -07:00
Joseph T. Lyons faa5932dbc Merge pull request #1829 from zed-industries/add-release-channel-information-to-telemetry-events
Add release channel information to telemetry events
2022-10-31 16:42:28 -04:00
Julia 93d7f4d262 Merge pull request #1800 from zed-industries/go-to-diff-hunk
Add action to go to next/previous git diff in editor
2022-10-31 14:38:52 -04:00
Julia bc601527b8 Layout git gutters inclusively 2022-10-31 14:35:42 -04:00
Max Brunsfeld 4df8c58951 Fix panic when hitting tab at the beginning of a line with mixed tab/space indent 2022-10-31 10:51:20 -07:00
Julia e45632083a Slightly expand region hunk layout checks for folds 2022-10-28 19:05:29 -04:00
Julia 985758426d Add test for go-to hunk and fix discovered bugs 2022-10-28 15:08:13 -04:00
JuliaandKay Simmons a7aad379e0 WIP start setting up test infrastructure for editor diff actions
Co-Authored-By: Kay Simmons <kay@zed.dev>
2022-10-28 15:08:13 -04:00
JuliaandKay Simmons 412c77460e Add action to go to next/previous git diff in editor
Co-Authored-By: Kay Simmons <kay@zed.dev>
2022-10-28 15:08:13 -04:00
Joseph T Lyons 4139e7f003 Rename all keys, in telemetry events, to be consistent with Mixpanels conventions 2022-10-27 16:19:21 -04:00
Max Brunsfeld 655f409f11 Show scrollbar when scrolling while following 2022-10-27 12:42:34 -07:00
Max Brunsfeld e062b30de8 🔥 stray dbg 2022-10-27 12:42:20 -07:00
K Simmons 9d694dfd8a fix minor warning 2022-10-26 17:42:03 -07:00
K Simmons 8253d49ec8 fix typo in blink manager disable which didn't properly disable, and start editors with the blink manager disabled 2022-10-26 17:39:17 -07:00
Max Brunsfeld 7e72f5e5fa Merge pull request #1802 from zed-industries/autoclose-with-same-start-and-end
Fix autoclose skipping when start and end are the same character
2022-10-25 12:33:04 -07:00
Max Brunsfeld 567e9b9034 Add test for autoclosing w/ matching start and end char 2022-10-25 12:22:19 -07:00
Antonio Scandurra 85ce4d083a Allow specifying a custom height for stacking contexts 2022-10-25 13:41:47 +02:00
Antonio Scandurra dd6447cbbb Create a SceneBuilder and sort stacking contexts when calling build 2022-10-25 12:16:09 +02:00
Kay Simmons c577cc3f29 Merge pull request #1792 from zed-industries/fn-modifier
Add fn modifier
2022-10-25 00:35:00 -07:00
K Simmons 6c5af0b436 fix failing test 2022-10-25 00:11:59 -07:00
K Simmons a092dda8cd Add fn modifier to modifier keys in gpui and refactor platform events to use a single modifiers struct 2022-10-24 23:50:39 -07:00
K Simmons 48dbd2465a add mouse region handler bool for adding the handler above the child 2022-10-24 23:30:35 -07:00