Commit Graph
31406 Commits
Author SHA1 Message Date
Max Brunsfeld 022b2ce476 Merge pull request #2322 from zed-industries/project-panel-paste-infinite-loop
Fix infinite loop in ProjectPanel::paste when filename has multiple dots
2023-03-27 17:09:10 -07:00
Max Brunsfeld 96c78ea710 Fix infinite loop in ProjectPanel::paste when filename has multiple dots 2023-03-27 16:45:11 -07:00
Max Brunsfeld ae006c827a Merge pull request #2321 from zed-industries/new-file-with-no-window
Make 'new file' action open a window when there are no windows open
2023-03-27 16:10:30 -07:00
Max Brunsfeld ec6934a139 Make 'new file' action open a window when there are no windows open 2023-03-27 16:05:00 -07:00
Joseph T. Lyons 34d9196d6d Merge pull request #2313 from zed-industries/unify-spelling-of-key-binding-to-be-two-words
Unify spelling of `key binding` to be two words
2023-03-27 15:58:12 -04:00
Julia 3f10f4591e Download aarch64 or x64 Node binary according to system architecture 2023-03-27 11:05:17 -04:00
JuliaandAntonio Scandurra 5deac1d5b3 Initial impl of NodeRuntime w/JSON borked and a deadlock :)
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-03-27 00:00:16 -04:00
JuliaandAntonio Scandurra 0cdfd1de7d Remove server_args from LspAdapter
Prepare to remove concept of a runtime from greater server startup code,
which is important for future language server extensibility

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-03-27 00:00:16 -04:00
Julia 25bc7cd3b6 Invoke npm from downloaded Node 2023-03-27 00:00:16 -04:00
Julia 543aebed40 Initial running of servers on downloaded Node 2023-03-27 00:00:16 -04:00
Julia 4e95cc232d Report if language server requires Node or not 2023-03-27 00:00:16 -04:00
Nathan Sobo 647b8c692b Trim empty tokens; copy selected range if non-empty 2023-03-24 17:10:50 -06:00
Nathan Sobo 7e089b2aa5 Merge adjacent chunks with the same highlight name in copied JSON 2023-03-24 16:52:00 -06:00
Nathan Sobo ab3131228a Add "editor: copy highlight json" command
Nate needs this to feed to Figma for highlighted code in designs.
2023-03-24 16:37:57 -06:00
Max Brunsfeld 52e681f0c2 Handle path changes and progress updates from all worker threads during initial scan 2023-03-24 14:35:18 -07:00
Max Brunsfeld 8e00ea4925 Merge branch 'main' into lsp-file-change-notifications 2023-03-24 08:52:43 -07:00
Max Brunsfeld 8a7393b375 🎨 BackgroundScanner::run 2023-03-23 18:05:12 -07:00
Max Brunsfeld cb99df7876 🎨 Don't store path changes statefully on the background scanner 2023-03-23 16:04:47 -07:00
Max Brunsfeld df17888473 Respect LSP servers watch glob patterns 2023-03-23 16:03:07 -07:00
Mikayla Maki fe6dbd8534 changed language status bar item to only show on editors 2023-03-23 13:29:23 -07:00
Mikayla Maki cc859b0aa1 Merge pull request #2317 from zed-industries/fix-titlebar-right-spacing
Fix misaligned UI in the right titlebar
2023-03-23 13:16:40 -07:00
Mikayla Makiandmax 1a0f4df114 Aligned title bar items to the center and fixed left spacing on the sign in button
co-authored-by: max <max@zed.dev>
2023-03-23 13:08:31 -07:00
Petros Amoiridis 792659cd49 Merge pull request #2311 from zed-industries/petros/z-279-add-terminals-count
Add terminals count
2023-03-23 10:52:01 +02:00
Mikayla Maki aaa5bc77ed Merge pull request #2315 from zed-industries/fix-fold-indicator-offsets
Fix fold indicator offsets
2023-03-22 17:13:13 -07:00
Mikayla Maki 7a8e097bd4 Update element.rs
remove spare parens
2023-03-22 17:05:54 -07:00
Mikayla Maki 8de4575b7c Fix fold indicator offsets 2023-03-22 17:04:52 -07:00
Max Brunsfeld fcb0d1e7d9 Clear auto-indent requests when replacing a buffer's entire text 2023-03-22 15:10:16 -07:00
Max Brunsfeld 82724cac3f Use a more stable, readable serialization format for neovim-backed vim tests 2023-03-22 14:31:11 -07:00
Joseph Lyons 019b425261 v0.80.x dev 2023-03-22 16:33:06 -04:00
Julia 0b90278408 Remove another spot with a flag old npm does not like 2023-03-22 15:40:51 -04:00
Joseph Lyons d4ae7d7966 Unify spelling of key binding to be two words 2023-03-22 13:34:12 -04:00
Petros Amoiridis b8ff8ced8e Remove struct 2023-03-22 19:28:06 +02:00
Petros AmoiridisandMikayla Maki 77c2dbe10f Only show count when we have terminals
Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
2023-03-22 18:23:41 +02:00
Nathan Sobo 859b542c74 Fix typo 2023-03-22 09:13:10 -06:00
Petros Amoiridis 49c4f27d41 Remove comment 2023-03-22 16:31:42 +02:00
Petros AmoiridisandAntonio Scandurra eb2d122bca Introduce terminal button count
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-03-22 16:13:58 +02:00
Petros Amoiridis 29162efb32 Fix typo 2023-03-22 15:31:21 +02:00
Antonio Scandurra 9827fc1506 Remove screen sharing indicator when call ends
Previously, we would only remove it when the screen sharing stopped.
2023-03-22 09:32:27 +01:00
Max Brunsfeld 9efc2a6f5a Remove unnecessary Arc around background scanner's snapshot 2023-03-21 15:47:02 -07:00
Max Brunsfeld be061cfdab Fix error in joining empty paths 2023-03-21 15:41:24 -07:00
Max Brunsfeld f610d0ea51 Allow refreshing worktree entries while the initial scan is in-progress 2023-03-21 15:15:12 -07:00
Max Brunsfeld bc7c6a661a Only mutate background snapshot in the background scanner 2023-03-21 11:26:33 -07:00
Max Brunsfeld 5795c3de6e Restructure communication from BackgroundScanner to LocalWorktree
The worktree no longer pulls the background snapshot from the background scanner.
Instead, the background scanner sends both snapshots to the worktree. Along with
these, it sends the path change sets.

Also, add randomized test coverage for the worktree UpdatedEntries events.
2023-03-21 11:26:13 -07:00
Max Brunsfeld 0964a3d49f Move postage crate version specification to workspace Cargo.toml 2023-03-21 11:26:13 -07:00
Max Brunsfeld 2fa6c86b1b 🎨 Simplify some worktree methods
* Consolidate local worktree construction into one method
* Simplify remote worktree construction
* Reduce indirection around pulling worktree snapshots from the background
2023-03-21 11:26:13 -07:00
Max Brunsfeld c2feb41fa9 Update wrong assertions after fixing missing event in FakeFs 2023-03-21 11:26:13 -07:00
Max Brunsfeld 7f07954b2b Add missing import in project tests 2023-03-21 11:26:13 -07:00
Max Brunsfeld 24be557726 Tweak logging in worktree randomized test 2023-03-21 11:26:13 -07:00
Max Brunsfeld 918d0daddb Update worktree randomized test to use worktree's public interface and the fake fs 2023-03-21 11:26:13 -07:00
Max BrunsfeldandNathan Sobo de7caa7171 Conservatively report fs events that occurred during initial worktree scan
Co-authored-by: Nathan Sobo <nathan@zed.dev>
2023-03-21 11:26:13 -07:00