diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-12 18:56:11 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-12 18:56:11 +0000 |
commit | e56072bfa3e5af69a4c293a38de6e1350ada3573 (patch) | |
tree | c7093fca262cedfc1fce2ba7499330fbb343c702 /crates/ra_lsp_server/src/main_loop.rs | |
parent | ee80a92ed4245f1b6e2b11127c8636b63930073d (diff) | |
parent | 5bf739c824c25867811163e05f706ff3d20bd2e6 (diff) |
Merge #500
500: Code lens support for running tests r=matklad a=kjeremy
Supports running individual and mod tests.
I feel like this kind of abuses the `Runnables` infrastructure but it works. Maybe later on down the line we should introduce a struct that is really just a tuple of binary, arguments, and environment and pass that back to the client instead. `run_single.ts` is just a paired down version of `runnables.ts` and there is duplication because I think run_single will probably change independent of runnables.
Co-authored-by: Jeremy A. Kolb <[email protected]>
Co-authored-by: Jeremy Kolb <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop.rs')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs index 6b9f6a988..03c834dbc 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -300,6 +300,7 @@ fn on_request( | |||
300 | .on::<req::DecorationsRequest>(handlers::handle_decorations)? | 300 | .on::<req::DecorationsRequest>(handlers::handle_decorations)? |
301 | .on::<req::Completion>(handlers::handle_completion)? | 301 | .on::<req::Completion>(handlers::handle_completion)? |
302 | .on::<req::CodeActionRequest>(handlers::handle_code_action)? | 302 | .on::<req::CodeActionRequest>(handlers::handle_code_action)? |
303 | .on::<req::CodeLensRequest>(handlers::handle_code_lens)? | ||
303 | .on::<req::FoldingRangeRequest>(handlers::handle_folding_range)? | 304 | .on::<req::FoldingRangeRequest>(handlers::handle_folding_range)? |
304 | .on::<req::SignatureHelpRequest>(handlers::handle_signature_help)? | 305 | .on::<req::SignatureHelpRequest>(handlers::handle_signature_help)? |
305 | .on::<req::HoverRequest>(handlers::handle_hover)? | 306 | .on::<req::HoverRequest>(handlers::handle_hover)? |