rust/crates
bors[bot] dc48f89581
Merge #2668
2668: In-server cargo check watching r=matklad a=kiljacken

Opening a draft now so people can follow the progress, and comment if they spot something stupid.

Things that need doing:
- [x] Running cargo check on save
- [x] Pipe through configuration options from client
- [x] Tests for parsing behavior
- [x] Remove existing cargo watch support from VSCode extension
- [x] Progress notification in VSCode extension using LSP 3.15 `$/progress` notification
- [ ] ~~Rework ra-ide diagnostics to support secondary messages~~
- [ ] ~~Make cargo-check watcher use ra-ide diagnostics~~

~~I'd love some input on whether to try to keep the status bar progress thingy for VSCode? It will require some plumbing, and maintaining yet another rust-analyzer specific LSP notification, which I'm not sure we want to.~~

Fixes #1894 

Co-authored-by: Emil Lauridsen <mine809@gmail.com>
2019-12-29 12:57:24 +00:00
..
ra_arena Switch to variant-granularity field type inference 2019-11-25 00:12:36 +03:00
ra_assists Fill in type params in 'add missing impl members' assist 2019-12-24 17:29:27 +01:00
ra_batch Support setting cargo features 2019-12-13 18:16:34 +08:00
ra_cargo_watch Fix busy-waiting issue in main cargo watch thread 2019-12-27 17:29:02 +01:00
ra_cfg
ra_cli Remove ty from code_model 2019-12-08 12:44:14 +01:00
ra_db Run rustfmt with respect to Cargo.toml edition 2019-12-04 23:05:01 +01:00
ra_fmt
ra_hir visible_from -> is_visible_from 2019-12-27 11:25:04 +01:00
ra_hir_def visible_from -> is_visible_from 2019-12-27 11:25:04 +01:00
ra_hir_expand Add dummy implementations of env! and option_env! builtins 2019-12-21 13:34:43 +01:00
ra_hir_ty Merge #2657 2019-12-27 10:10:07 +00:00
ra_ide Merge #2667 2019-12-29 12:24:19 +00:00
ra_lsp_server Don't finish main cargo watch thread when subprocess finishes. 2019-12-27 12:43:14 +01:00
ra_mbe Clippy lints 2019-12-20 15:14:30 -05:00
ra_parser Merge #2642 2019-12-22 08:05:02 +00:00
ra_prof More compact profiling display 2019-12-22 14:17:31 +01:00
ra_project_model Only add features flags if non-empty 2019-12-24 00:27:48 +08:00
ra_syntax Collect visibility of items during nameres 2019-12-26 16:23:40 +01:00
ra_text_edit
ra_tt Refactoring 2019-12-18 13:10:37 +08:00
ra_vfs_glob
test_utils Refactor goto tests to always specify texts 2019-12-18 16:00:35 +01:00