Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Remove a duplicate line in `collect_defs` | Michal Terepeta | 2020-01-03 | 1 | -1/+0 | |
|/ | | | | Signed-off-by: Michal Terepeta <[email protected]> | |||||
* | Update dependencies | Jeremy Kolb | 2020-01-01 | 3 | -2/+3 | |
| | ||||||
* | Disable cargo_watch snapshot tests on windows | Emil Lauridsen | 2020-01-01 | 1 | -0/+7 | |
| | ||||||
* | Merge pull request #2672 from Speedy37/master | Aleksey Kladov | 2019-12-31 | 2 | -37/+83 | |
|\ | | | | | fix #2520: change expand_repeat loop stop condition | |||||
| * | Add details about test_repeat_bad_var current state | Vincent Rouillé | 2019-12-30 | 1 | -0/+2 | |
| | | ||||||
| * | Details about macro NestingState hit and at_end fields | Vincent Rouillé | 2019-12-30 | 1 | -7/+10 | |
| | | ||||||
| * | fix #2520: change expand_repeat loop stop condition | Vincent Rouillé | 2019-12-28 | 2 | -36/+77 | |
| | | ||||||
* | | Drop support for legacy colorization | Aleksey Kladov | 2019-12-31 | 3 | -16/+23 | |
| | | ||||||
* | | Retry inlay hints on content modified error | Aleksey Kladov | 2019-12-30 | 1 | -10/+5 | |
| | | ||||||
* | | Merge #2681 | bors[bot] | 2019-12-29 | 3 | -2/+307 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2681: cargo-watcher: Resolve macro call site in more cases r=matklad a=kiljacken This resolves the actual macro call site in a few more cases, f.x. when a macro invokes `compile_error!` (I'm looking at you `ra_hir_def::path::__path`). Co-authored-by: Emil Lauridsen <[email protected]> | |||||
| * | | Add related information with original error site | Emil Lauridsen | 2019-12-29 | 3 | -1/+306 | |
| | | | ||||||
| * | | Resolve macro call site in more cases | Emil Lauridsen | 2019-12-29 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge #2680 | bors[bot] | 2019-12-29 | 3 | -63/+71 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 2680: Fix cargo-watcher file urls on windows r=matklad a=kiljacken Fixes #2676 Co-authored-by: Emil Lauridsen <[email protected]> | |||||
| * | | Lowercase drive letters when getting paths from cargo check | Emil Lauridsen | 2019-12-29 | 3 | -63/+71 | |
| | | | ||||||
* | | | Remove unused hard-coded paths | Emil Lauridsen | 2019-12-29 | 1 | -4/+0 | |
| | | | ||||||
* | | | Resolve traits in infer using lang item infrastructure | Emil Lauridsen | 2019-12-29 | 3 | -10/+19 | |
| | | | ||||||
* | | | Add helpers for unpacking lang items | Emil Lauridsen | 2019-12-29 | 1 | -0/+44 | |
|/ / | ||||||
* | | Merge #2650 | bors[bot] | 2019-12-29 | 4 | -8/+62 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2650: Add macro call support for SourceAnalyzer::type_of r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | | Use pre-stored macro file | Edwin Cheng | 2019-12-23 | 4 | -33/+51 | |
| | | | ||||||
| * | | Add macro call support for type_of | Edwin Cheng | 2019-12-23 | 4 | -13/+49 | |
| | | | ||||||
* | | | Merge #2674 | bors[bot] | 2019-12-29 | 1 | -3/+3 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2674: Reduce visibility r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | Reduce visibility | Aleksey Kladov | 2019-12-29 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | Don't add non-impl/trait containers to scope | Aleksey Kladov | 2019-12-29 | 4 | -25/+96 | |
|/ / / | ||||||
* | | | Merge #2668 | bors[bot] | 2019-12-29 | 17 | -8/+1843 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> | |||||
| * | | | Fix busy-waiting issue in main cargo watch thread | Emil Lauridsen | 2019-12-27 | 1 | -3/+5 | |
| | | | | ||||||
| * | | | Don't finish main cargo watch thread when subprocess finishes. | Emil Lauridsen | 2019-12-27 | 2 | -3/+5 | |
| | | | | ||||||
| * | | | Fix shutdown behavoir of main cargo-watch thread. | Emil Lauridsen | 2019-12-27 | 1 | -7/+8 | |
| | | | | | | | | | | | | | | | | | | | | Even though this didn't error, it became clear to me that it was closing the wrong channel, resulting in the child thread never finishing. | |||||
| * | | | Add doc comment to module | Emil Lauridsen | 2019-12-27 | 1 | -0/+2 | |
| | | | | ||||||
| * | | | Cargo fmt run | Emil Lauridsen | 2019-12-27 | 1 | -7/+1 | |
| | | | | ||||||
| * | | | Shutdown/cancelation story for main cargo watch thread | Emil Lauridsen | 2019-12-27 | 1 | -15/+32 | |
| | | | | ||||||
| * | | | Consistent, hopefully robust, shutdown/cancelation story for cargo check ↵ | Emil Lauridsen | 2019-12-27 | 1 | -16/+50 | |
| | | | | | | | | | | | | | | | | subprocess | |||||
| * | | | Move cargo watch functionality to separate crate | Emil Lauridsen | 2019-12-27 | 15 | -1336/+1358 | |
| | | | | ||||||
| * | | | Keep VSCode config mostly backwards compatible | Emil Lauridsen | 2019-12-25 | 4 | -49/+31 | |
| | | | | ||||||
| * | | | Some documentatioN | Emil Lauridsen | 2019-12-25 | 1 | -0/+13 | |
| | | | | ||||||
| * | | | Actually respect disabling cargo check functionality | Emil Lauridsen | 2019-12-25 | 1 | -3/+19 | |
| | | | | ||||||
| * | | | Re-format ra_lsp_server changes | Emil Lauridsen | 2019-12-25 | 3 | -7/+7 | |
| | | | | ||||||
| * | | | Re-implement status display using LSP 3.15 progress event | Emil Lauridsen | 2019-12-25 | 2 | -9/+52 | |
| | | | | ||||||
| * | | | Migrate tests from extension to rust | Emil Lauridsen | 2019-12-25 | 8 | -0/+1068 | |
| | | | | ||||||
| * | | | Fix use of wrong message in diagnostic | Emil Lauridsen | 2019-12-25 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Configuration plumbing for cargo watcher | Emil Lauridsen | 2019-12-25 | 4 | -10/+55 | |
| | | | | ||||||
| * | | | Initial implementation of cargo check watching | Emil Lauridsen | 2019-12-25 | 7 | -4/+598 | |
| | | | | ||||||
* | | | | Merge #2667 | bors[bot] | 2019-12-29 | 20 | -113/+608 | |
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | 2667: Visibility r=matklad a=flodiebold This adds the infrastructure for handling visibility (for fields and methods, not in name resolution) in the HIR and code model, and as a first application hides struct fields from completions if they're not visible from the current module. (We might want to relax this again later, but I think it's ok for now?) Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | | | visible_from -> is_visible_from | Florian Diebold | 2019-12-27 | 4 | -10/+10 | |
| | | | | ||||||
| * | | | Remove Arc from RawVisibility | Florian Diebold | 2019-12-26 | 1 | -11/+6 | |
| | | | | | | | | | | | | | | | | | | | | Now that it's not used as a direct query return value anymore, it doesn't need to be cheaply cloneable anymore. | |||||
| * | | | Fix cross-crate glob privacy handling | Florian Diebold | 2019-12-26 | 3 | -6/+28 | |
| | | | | ||||||
| * | | | Remove visibility query, instead add struct field visibility to data | Florian Diebold | 2019-12-26 | 5 | -102/+35 | |
| | | | | | | | | | | | | | | | | | | | | Methods should be handled the same, and for items the visibility will be in the def map. | |||||
| * | | | Rename ResolvedVisibility -> Visibility | Florian Diebold | 2019-12-26 | 8 | -67/+54 | |
| | | | | ||||||
| * | | | Rename Visibility -> RawVisibility | Florian Diebold | 2019-12-26 | 6 | -40/+40 | |
| | | | | ||||||
| * | | | Handle privacy for modules | Florian Diebold | 2019-12-26 | 3 | -11/+36 | |
| | | | | ||||||
| * | | | Take visibility into account for glob imports | Florian Diebold | 2019-12-26 | 7 | -43/+165 | |
| | | | |