Commit Graph
8324 Commits
Author SHA1 Message Date
Julia 4e95cc232d Report if language server requires Node or not 2023-03-27 00:00:16 -04:00
Nathan Sobo e8d9c1d8bf Merge pull request #2319 from zed-industries/copy-highlight-json
Add "editor: copy highlight json" command
2023-03-24 17:17:45 -06: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 5f98c59766 Merge pull request #2258 from zed-industries/lsp-file-change-notifications
Implement `DidChangedWatchedFiles` LSP feature
2023-03-24 14:42:23 -07: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 5669b2b370 Merge pull request #2318 from zed-industries/fix-unknown-in-non-editor-buffers
changed language status bar item to only show on editors
2023-03-23 13:33:42 -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 459884590c Merge pull request #2314 from zed-industries/another-one
Remove another spot with a flag old npm does not like
2023-03-22 15:56:23 -04:00
Julia 0b90278408 Remove another spot with a flag old npm does not like 2023-03-22 15:40:51 -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
Joseph T. Lyons b4e3da382f Merge pull request #2312 from zed-industries/unkown
Fix typo in "Unknown" language
2023-03-22 11:20:18 -04: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 4ddd006ad7 Merge pull request #2310 from zed-industries/fix-sharing-status-indicator
Remove screen sharing indicator when call ends
2023-03-22 09:40:23 +01: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
Max Brunsfeld dcc9d282ec Notify language servers of FS changes 2023-03-21 11:26:13 -07:00
Max Brunsfeld 2dc96db04c Add failing test for reporting FS change events to language servers 2023-03-21 11:26:13 -07:00
Antonio Scandurra a4ef24b498 Merge pull request #2309 from zed-industries/suggestion-map
Introduce `DisplayMap::replace_suggestion`
2023-03-21 18:18:50 +01:00
Antonio ScandurraandMax Brunsfeld 3fddbd3e3d Don't move up/down by more rows than the requested ones
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-03-21 17:52:53 +01:00
Antonio Scandurra 09bb0f131f Make Suggestion fields public 2023-03-21 16:51:33 +01:00