Commit Graph
31406 Commits
Author SHA1 Message Date
Joseph Lyons ad7f42d0b9 Don't make events for every rejected suggestion 2023-05-16 17:19:05 -04:00
Kirill Bulatov 62c6f7bb7c Remove extra dbg! 2023-05-16 22:15:56 +03:00
Kirill Bulatov 01d344aaf4 Unit test file:row:column parsing 2023-05-16 21:07:48 +03:00
Kirill Bulatov f2038312ea Finalize the CLI opening part 2023-05-16 21:07:48 +03:00
Kirill BulatovandMikayla 7c4da86cfa Return proper items on workspace restoration.
co-authored-by: Mikayla <mikayla@zed.dev>
2023-05-16 21:07:48 +03:00
Kirill Bulatov 1508c39e5f Do not break Zed & Zed CLI compatibility 2023-05-16 21:07:47 +03:00
Kirill Bulatov a9d441ae5f Attempt to open rows and columns from CLI input 2023-05-16 21:07:26 +03:00
Kirill Bulatov 0708442690 Unify path:row:column parsing, use it in CLI 2023-05-16 21:07:26 +03:00
Kirill BulatovandMax d378829d11 Test caret selection in file finder
co-authored-by: Max <max@zed.dev>
2023-05-16 21:07:26 +03:00
Kirill Bulatov ad4d375f0b Make Go To Line to respect column numbers 2023-05-16 21:07:26 +03:00
Kirill Bulatov 25da16247b Simplify file-row-column parsing 2023-05-16 21:07:26 +03:00
Kirill Bulatov 792aa717b1 Use ':' instead of ',' to separate files, rows and columns 2023-05-16 21:07:26 +03:00
Kirill BulatovandMikayla Maki 83f4c3dc46 Properly place the caret into the window of the file opened
co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
2023-05-16 21:07:26 +03:00
Kirill Bulatov ad05aaebbc Move the caret to the opened file 2023-05-16 21:07:26 +03:00
Kirill Bulatov 097116477c Parse file find queries with extra data 2023-05-16 21:07:26 +03:00
Kirill Bulatov 6e5e798aeb Merge pull request #2476 from zed-industries/kb/faster-dev-cli
Allow CLI to start Zed from local sources
2023-05-16 21:06:40 +03:00
Joseph Lyons 61f87e38b6 Send copilot events even if file_extension is not known at the time 2023-05-16 14:02:36 -04:00
Joseph Lyons 4736fe39c7 Rework code to contain submitting of copilot events within editor 2023-05-16 13:26:05 -04:00
JuliaandAntonio Scandurra 9f47d22f04 Fix worktree refresh request causing gitignore to not update
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-05-16 13:01:29 -04:00
JuliaandAntonio Scandurra 73f16b1aa1 Avoid removing fake fs entry when rename fails later in the process
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-05-16 13:00:39 -04:00
Antonio ScandurraandAntonio Scandurra be876f0825 Don't rely on action propagation for zooming in and out
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
2023-05-16 10:34:50 -06:00
Joseph Lyons edaa17a979 Fix compile error 2023-05-16 11:51:20 -04:00
Kirill Bulatov 4103a3084f Allow CLI to start Zed from local sources
Zed now is able to behave as if it's being started from CLI
(`ZED_FORCE_CLI_MODE` env var)

Zed CLI accepts regular binary file path into `-b` parameter (only *.app before),
and tries to start it as Zed editor with `ZED_FORCE_CLI_MODE` env var
and other params needed.
2023-05-16 17:41:32 +03:00
Kirill Bulatov 7f1fa93d00 Merge pull request #2470 from zed-industries/kb/fix-project-search-esc
In project search on ESC, reduce multiple carets to one first
2023-05-16 15:16:34 +03:00
Antonio Scandurra fafe7a193b Implement zooming for panes and docks 2023-05-16 11:49:48 +02:00
Joseph Lyons a393304f34 Init copilot with client instead of http client 2023-05-16 03:12:39 -04:00
Joseph Lyons d1925c6053 Subscribe to copilot events (WIP) 2023-05-16 00:35:21 -04:00
Joseph Lyons 54a42425f1 Update telemetry client to accept copilot events 2023-05-16 00:34:58 -04:00
Mikayla Maki a845fc4089 Fix typo 2023-05-15 16:47:46 -07:00
Mikayla Maki 9b716f32cc Add events for copilot suggestion accepting and discarding 2023-05-15 16:44:09 -07:00
Mikayla Maki 6e32cf9a97 fmt 2023-05-15 16:22:52 -07:00
Mikayla Makiandmax 80627ff41b Restore trickle up git status to folder
co-authored-by: max <max@zed.dev>
2023-05-15 16:22:00 -07:00
Mikayla Makiandmax 686b607b8e Update git repositories to be streamed with their entries
co-authored-by: max <max@zed.dev>
2023-05-15 16:22:00 -07:00
Mikayla Makiandmax 2b770e4bac Made status tracking resilient to folder renames
co-authored-by: max <max@zed.dev>
2023-05-15 16:21:58 -07:00
Mikayla Maki ee2b629435 Update proto names to reflect new status info 2023-05-15 16:20:01 -07:00
Mikayla Maki ccdc38eec2 Add index tracking to status 2023-05-15 16:20:01 -07:00
Mikayla Maki 89f70241ae Fixed formatting 2023-05-15 16:20:01 -07:00
Mikayla Maki 85b6218bb3 Change folder styling from a reduce over all child files to a simple 'always modified'
Remove git status from tab titles
2023-05-15 16:20:01 -07:00
Julia 4921ba7ee6 Merge pull request #2471 from zed-industries/optimize-update-local-worktree-buffers
Optimize update local worktree buffers
2023-05-15 13:13:09 -04:00
Antonio Scandurra 7198624597 Introduce Panel::can_zoom 2023-05-15 17:10:30 +02:00
Kirill BulatovandAntonio 36e4876e07 Remove redundant scopes and actions to fix the focus toggle on ESC
co-authored-by: Antonio <antonio@zed.dev>
2023-05-15 13:10:15 +03:00
Julia dc8bff3a6c Fixup more, tests finally pass 2023-05-14 12:06:00 -04:00
Nathan Sobo 4d44ed41ce wip 2023-05-13 14:34:09 -06:00
Mikayla Maki 31b8222455 fmt 2023-05-13 10:43:16 -07:00
Mikayla Maki c3198925e9 Fix repository initialization bug 2023-05-13 10:38:24 -07:00
Mikayla Maki 0dc95b0368 Fixed bug with failing to clear git file status 2023-05-13 02:40:22 -07:00
Mikayla Maki 7bbe0b3f90 Match priority of folder highlights to vscode 2023-05-13 02:30:59 -07:00
Mikayla Maki 8e263a30c6 Refactor out git status into FileName component
Integrate file name component into the editor's tab content
2023-05-13 02:26:45 -07:00
Nathan Sobo 06b77a40d7 Don't close panel on event unless active; add tests 2023-05-12 15:44:09 -06:00
Nathan Sobo b646f5d456 Preserve panel size when re-docking between left and right 2023-05-12 15:15:11 -06:00