15312d0
Merge pull request #526 from zed-industries/json
Click to expand commit body
Add basic JSON support
Max Brunsfeld created
15312d0
Merge pull request #526 from zed-industries/json
Add basic JSON support
Max Brunsfeld created
3c242a4
Wait for LSP capabilities to be initialized before checking them
Max Brunsfeld created
78d96a0
Make fake language servers have full capabilities
Max Brunsfeld created
9999862
Enable formatting feature of JSON language server
The feature doesn't work yet because the JSON language server only supports *range* formatting, not document formatting. We need to adjust our code to inspect the server's capabilities and send range formatting requests instead when needed. We're going to hold off on doing this right now, because it will create merge conflicts with the `preserve-worktrees` branch (#525) Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
81627a0
Avoid sending unhandled LSP requests to JSON language server
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
0582c55
Add JSON language server
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
bf1153c
Add syntax highlighting/auto-indent/outlines for JSON files
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
556d9cc
Correctly defer undo operations when messages arrive out of order
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created
410ee12
Maintain remote worktrees correctly when building updates
This accidentally regressed in 53327e2.
Antonio Scandurra created
c613b22
Ignore diagnostics received for invisible worktrees
Antonio Scandurra created
d0d6916
Move code action and completion edit messages to the background
Antonio Scandurra created
14d26ee
Move several buffer-related messages to the background
Antonio Scandurra created
1c14168
Ensure no two worktrees can point to the same root path
This could happen because there was a pause between creating the worktree and adding it to the list of tracked local worktrees, and so we might end up adding the same worktree twice when calling `create_local_worktree` in rapid succession.
Antonio Scandurra created
d171d8c
Change the definition of `check_invariants`
- On the host, ensure that only one worktree can exist for a given absolute path. Asserting about buffers was cool but I think should be tackled in the context of leaning more on entry ids for collaboration (vs. buffer ids). - On the guest, ensure that all the opened buffers don't contain deferred operations.
Antonio Scandurra created
53327e2
Ensure worktree is registered/shared synchronously
Antonio Scandurra created
530f15b
Tweak log format in random collab test
Max Brunsfeld created
d4ae38f
Check projects' buffers have unique absolute paths in random collab test
Max Brunsfeld created
ca920e1
Rename strong_worktrees -> visible_worktrees
Max Brunsfeld created
68cfce1
Rename `weak` to `visible`
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra and Max Brunsfeld created
a3c8892
Move `SearchProject` to the background
Co-Authored-By: Max Brunsfeld <max@zed.dev> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra , Max Brunsfeld , and Nathan Sobo created
07120d4
Convert weak worktree handles into strong handles when sharing
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra and Max Brunsfeld created
4b0300d
0.18.1
Max Brunsfeld created
9e519b9
Merge pull request #523 from zed-industries/no-cmd-ctrl-input
Don't insert input into editors when control or command keys are held
Max Brunsfeld created
5c1aff1
Don't insert input into editors when control or command keys are held
This is a follow-up to #475
Max Brunsfeld created
a9cc8b4
Merge pull request #517 from zed-industries/activate-pane-when-activating-item
Make pane active when activating one of its items
Antonio Scandurra created
07c780b
Make pane active when activating one of its items
Antonio Scandurra created
9d18f4a
Create `vendor/bin` if it doesn't exist
Antonio Scandurra created
a184583
Bump protocol version
Antonio Scandurra created
85a010b
v0.18.0
Antonio Scandurra created
6d59083
Merge branch 'leaks'
Antonio Scandurra created
0581246
Use Node 16 on CI
Antonio Scandurra created
c97983d
Install node as part of ci.yml when bundling the app
Antonio Scandurra created
65f53db
WIP: investigate why npm is not there
Antonio Scandurra created
432fef6
:lipstick:
Antonio Scandurra created
9ff1af3
Always run tests and bundle creation in separate runners
This is better for caching and, thus, yields faster CI runs.
Antonio Scandurra created
141e055
Fix warnings
Antonio Scandurra created
3ec76b6
Make `dhat` optional
Antonio Scandurra created
b771667
Merge pull request #499 from zed-industries/project-find
Project-wide search
Antonio Scandurra created
51345cf
Advance clock when simulating random delay
Antonio Scandurra created
be7a477
Delete timer state when the future that's awaiting it gets dropped
Antonio Scandurra created
8b7a936
Avoid storing type name string on AnyViewHandle
It won't be needed for leak error messages, because the typed view handle will typically be created first. And this avoids increasing the size of the handle used in production.
Max Brunsfeld created
ae93cfe
Tear down client's connection states when dropping test clients
Max Brunsfeld created
3cf5329
Flush effects when dropping test clients in random collaboration test
Max Brunsfeld created
acf7ef3
Avoid retaining executor when using Connection::in_memory
Max Brunsfeld created
95b2f4f
Fix remaining language server hangs on shutdown
* Use fork of async-pipe library that handles closed pipes correctly. * Clear response handlers map when terminating output task, so as to wake any pending request futures. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
917543c
Handle Peer responses using a futures::oneshot instead of postage::mpsc
Max Brunsfeld created
f2f1a52
Prevent hangs in lsp requests made while server is shutting down
* Avoid postage::oneshot, since receiver is not woken when sender is dropped. * Clear the response channels when an IO task exits.
Max Brunsfeld created
74469a4
Clean up tasks properly when dropping a FakeLanguageServer
* Make sure the fake's IO tasks are stopped * Ensure that the fake's stdout is closed, so that the corresponding language server's IO tasks are woken up and halted.
Max Brunsfeld created
0e66869
Remove stray printing in db tests
Max Brunsfeld created
43f856c
Make integration tests depend only on a few core crates, not all of zed
Max Brunsfeld created