Julia
bca625a197
Many steps toward validating and reinstalling server after failure
2023-06-15 12:18:34 -04:00
Mikayla Maki
455cdc8b37
Add copilot crate
...
Refactor HTTP and github release downloading into util
Lazily download / upgrade the copilot LSP from Zed
Co-authored-by: Max <max@zed.dev>
Co-Authored-By: Antonio <antonio@zed.dev>
2023-03-28 09:41:59 -07:00
Julia
c72d33e029
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
Julia
1a2e509e35
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
b579211861
Report if language server requires Node or not
2023-03-27 00:00:16 -04:00
Max Brunsfeld
815ce22fb7
Revert "Merge pull request #1359 from zed-industries/plugin-json-enable"
...
This reverts commit 94b443a704
, reversing
changes made to 285832e810
.
2022-07-18 19:04:49 -07:00
Isaac Clayton
52e4774e8a
Re-enable JSON plugin
2022-07-14 15:13:12 +02:00
Isaac Clayton
b3ac63b7b5
Remove triple-based suffix
2022-07-14 15:05:54 +02:00
Isaac Clayton
80b45ef93b
Precompile plugins depending on target triple
2022-07-14 13:23:04 +02:00
Isaac Clayton
4a5b8fd2e6
Merge fuel-based metering
2022-07-14 08:13:47 +02:00
Max Brunsfeld
dddeb66e2a
Temporarily remove JSON plugin + restore native JSON LspAdapter
2022-07-13 13:56:39 -07:00
Isaac Clayton
8bb8e851df
Remove epoch-based metering
2022-07-13 18:03:14 +02:00
Isaac Clayton
562e22814f
Remove .pre suffix use .epoch and .fuel instead
2022-07-13 17:08:43 +02:00
Isaac Clayton
3fb1cd0726
Fix issue where precompiled plugins were compiled with the wrong settings
2022-07-13 16:31:47 +02:00
Isaac Clayton
01a2d53638
Merge pull request #1327 from zed-industries/plugin-epoch
...
Configurable Plugin Yielding
2022-07-13 15:29:22 +02:00
Isaac Clayton
a6edf85078
Use enum to differentiate between normal and precompiled plugins
2022-07-13 14:26:52 +02:00
Isaac Clayton
8b376dd613
Fix resulting errors and introduce functional executor callback
2022-07-13 13:15:12 +02:00
Isaac Clayton
8974b0c490
Work on supporting both epoch and fuel
2022-07-13 12:41:47 +02:00
Isaac Clayton
10670dba70
Add support for configuring plugin yield mechanism, stashing
2022-07-13 11:57:00 +02:00
Isaac Clayton
d04c3388b4
Switch from epoch to fuel
2022-07-13 11:09:06 +02:00
Max Brunsfeld
2a478462b6
Fix association of 'json' lsp language id with JSON language
2022-07-12 15:43:59 -07:00
Isaac Clayton
7f11a32364
Implement periodic yielding using epoch_deadline_async_yield_and_update
2022-07-12 17:07:33 +02:00
Isaac Clayton
d8b22a200e
Rename LspAdapterTrait to LspAdapter and LspAdapter to CachedLspAdapter
2022-07-12 09:29:38 +02:00
Isaac Clayton
19d19271f6
Remove stale label_for_completion impl from JSON plugin
2022-07-11 18:01:12 +02:00
Isaac Clayton
836719526c
Remove stale commented code
2022-07-11 16:50:49 +02:00
Isaac Clayton
14bccb4a90
More cleanup during review
2022-07-11 10:56:21 +02:00
Isaac Clayton
73620dad06
Add channel to notify project when languages are added
2022-07-08 14:37:27 +02:00
Isaac Clayton
a16fc2ba0c
Add basic support for precompiling plugins
2022-07-07 16:21:27 +02:00
Isaac Clayton
39fdbc593b
Fix most warnings
2022-07-07 16:19:49 +02:00
Isaac Clayton
6585daccf9
Further unpropogate async
2022-07-07 16:16:58 +02:00
Isaac Clayton
2b0b341415
Move await outside of a closure, remove future_wrap dependency
2022-07-07 15:42:53 +02:00
Isaac Clayton
172e276411
Fix warnings and propogate async further
2022-07-07 15:42:48 +02:00
Isaac Clayton
ce90dbd06a
Temporarily comment out closure errors to address other errors in project
2022-07-07 15:41:34 +02:00
Isaac Clayton
61f5326033
Add timing instrumentation
2022-07-07 15:32:43 +02:00
Isaac Clayton
841a9bd2a7
Make into async trait, will refactor everything Monday
2022-07-07 15:25:49 +02:00
Isaac Clayton
568017da85
Annotate that the bug is due to a deadlock, fixing now
2022-07-07 15:23:27 +02:00
Isaac Clayton
37e04320aa
Checkpoint
2022-07-07 15:23:27 +02:00
Isaac Clayton
e5481e2e65
Switch from std::process::Command to smol::process::Command
2022-07-07 15:22:17 +02:00
Isaac Clayton
42fc278913
Comment out label_for_completion for now
2022-07-07 15:22:17 +02:00
Isaac Clayton
a5a0abb895
Update usage of WasiPlugin -> Plugin
2022-07-07 15:22:17 +02:00
Isaac Clayton
5b40734f80
Change ABI from pair of u32s to single u64
2022-07-07 15:22:17 +02:00
Isaac Clayton
1f5903d16d
Add allocator to store so that it can be used by host functions
2022-07-07 15:22:17 +02:00
Isaac Clayton
7266dff537
Fix issue with host function binding
2022-07-07 15:22:17 +02:00
Isaac Clayton
53e56f1284
Start working on host-side functions
2022-07-07 15:22:17 +02:00
Isaac Clayton
71e0555763
Add JSON LSP plugin
2022-07-07 15:22:16 +02:00
Isaac Clayton
923f093aca
First pass of plugin side of things complete
2022-07-07 15:20:27 +02:00
Isaac Clayton
d7b97b25b8
Async runtime working but is blocking
2022-07-07 15:20:27 +02:00
Isaac Clayton
8bce35d1e9
Move Wasi to async, validate timeslicing, using async in traits still WIP
2022-07-07 15:20:27 +02:00
Isaac Clayton
e9b87f3dc3
Factor out buffer code
2022-07-07 15:20:27 +02:00
Isaac Clayton
fbaff615a3
Get JSON LSP running, still work to be done
2022-07-07 15:20:27 +02:00