Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Remove const | Steffen Lyngbaek | 2020-03-19 | 3 | -6/+48 | |
| | | | | | | | | | | - Add test for @ matching - Address comments | |||||
* | | Fixes to more accurately give complete_scope completions | Steffen Lyngbaek | 2020-03-19 | 3 | -15/+38 | |
| | | | | | | | | | | | | | | - Exclude const, static, functions form is_pat_binding_and_path (there might be more?) - Add a check to filter out Record Fields - Fix tests | |||||
* | | - Exclude Local Scope for BindPats | Steffen Lyngbaek | 2020-03-19 | 2 | -58/+16 | |
| | | | | | | | | | | - Exclude BindPats with @ or ref - Remove outdated test and add one testing for ref | |||||
* | | Completition for type name? #3418 | Steffen Lyngbaek | 2020-03-19 | 2 | -3/+120 | |
|/ | | | | | | | | Iterate through TupleStructPat's until a MatchArm if one exists. Store in a new is_pat_bind_and_path bool and allow the `complete_scope` to find matches. Added some tests to ensure it works in simple and nested cases. | |||||
* | Simplify Arena to use a generic index | Aleksey Kladov | 2020-03-19 | 17 | -185/+175 | |
| | ||||||
* | Simplify Sysroot | Aleksey Kladov | 2020-03-19 | 2 | -22/+20 | |
| | ||||||
* | More direct CargoWorkspace | Aleksey Kladov | 2020-03-19 | 3 | -87/+64 | |
| | ||||||
* | Cleanup imports | Aleksey Kladov | 2020-03-19 | 6 | -13/+17 | |
| | ||||||
* | Merge nested use trees | Aleksey Kladov | 2020-03-19 | 1 | -20/+52 | |
| | ||||||
* | Generalize | Aleksey Kladov | 2020-03-19 | 3 | -13/+14 | |
| | ||||||
* | Use match_ast | Aleksey Kladov | 2020-03-18 | 2 | -12/+15 | |
| | ||||||
* | Merge imports assist | Aleksey Kladov | 2020-03-18 | 7 | -25/+212 | |
| | | | | Work towards #2220 | |||||
* | Strongly-typed generic methods for editing nodes | Aleksey Kladov | 2020-03-18 | 1 | -47/+49 | |
| | ||||||
* | Reduce visibility | Aleksey Kladov | 2020-03-18 | 1 | -28/+28 | |
| | ||||||
* | ra_hir_def: remove dat fixme | veetaha | 2020-03-18 | 1 | -1/+0 | |
| | ||||||
* | Use dyn-ref instead of impl to impact compile times the least | Emil Lauridsen | 2020-03-17 | 2 | -3/+3 | |
| | ||||||
* | Slight readablity improvement | Emil Lauridsen | 2020-03-17 | 1 | -1/+1 | |
| | ||||||
* | Remove outDirOverrides | Emil Lauridsen | 2020-03-17 | 1 | -8/+0 | |
| | ||||||
* | Support loading OUT_DIR for CLI runs | Emil Lauridsen | 2020-03-17 | 5 | -48/+81 | |
| | ||||||
* | Support specifying OUT_DIR in json project | Emil Lauridsen | 2020-03-17 | 2 | -3/+22 | |
| | ||||||
* | Change existing OUT_DIR override config to make use of new infrastructure | Emil Lauridsen | 2020-03-17 | 6 | -51/+19 | |
| | ||||||
* | Support loading OUT_DIR from cargo check at launch | Emil Lauridsen | 2020-03-17 | 7 | -114/+239 | |
| | ||||||
* | Check that no file contains trailing ws | Aleksey Kladov | 2020-03-17 | 5 | -111/+111 | |
| | | | | rustfmt allows trailing spaces in string literals unfortunately. | |||||
* | Fix typo | phynalle | 2020-03-17 | 1 | -2/+2 | |
| | ||||||
* | Small fixes | Florian Diebold | 2020-03-16 | 1 | -4/+2 | |
| | ||||||
* | Some more refactoring | Florian Diebold | 2020-03-16 | 2 | -58/+76 | |
| | ||||||
* | Some cleanup | Florian Diebold | 2020-03-16 | 1 | -5/+7 | |
| | ||||||
* | Turn ExpandResult into struct | Florian Diebold | 2020-03-16 | 6 | -43/+63 | |
| | ||||||
* | Fix remaining test failure | Florian Diebold | 2020-03-16 | 2 | -9/+11 | |
| | ||||||
* | Fix performance problem | Florian Diebold | 2020-03-16 | 2 | -32/+37 | |
| | ||||||
* | Better fix for stuck parser? | Florian Diebold | 2020-03-16 | 1 | -3/+3 | |
| | ||||||
* | Add test, remove printlns | Florian Diebold | 2020-03-16 | 4 | -3/+53 | |
| | ||||||
* | Get tests working | Florian Diebold | 2020-03-16 | 5 | -7/+19 | |
| | ||||||
* | wip | Florian Diebold | 2020-03-16 | 5 | -94/+160 | |
| | ||||||
* | Attempt to implement ranking of rules when none matches perfectly (wip) | Florian Diebold | 2020-03-16 | 3 | -11/+51 | |
| | ||||||
* | Make MBE expansion more resilient (WIP) | Florian Diebold | 2020-03-16 | 10 | -91/+168 | |
| | ||||||
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 51 | -794/+813 | |
| | | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate). | |||||
* | Remove dat fixme | Veetaha | 2020-03-16 | 1 | -1/+1 | |
| | ||||||
* | Merge #3573 | bors[bot] | 2020-03-16 | 1 | -0/+1 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3573: Check all crates of the workspace r=matklad a=matklad Previously, if the root of the was was a real crate, only this crate was checked. Ideally, we might want some kind of config here (which might be just overriding the whole command), but `--workspace` is def a nicer default. r? @kiljacken Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Check all crates of the workspace | Aleksey Kladov | 2020-03-13 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | Previously, if the root of the was was a real crate, only this crate was checked. Ideally, we might want some kind of config here (which might be just overriding the whole command), but `--workspace` is def a nicer default. | |||||
* | | Merge #3587 | bors[bot] | 2020-03-16 | 2 | -11/+77 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3587: Use WorkDoneProgress LSP API for initial load r=matklad a=slyngbaek Addresses #3283 Rather than using custom UI for showing the loaded state. Rely on the WorkDoneProgress API in 3.15.0 https://microsoft.github.io/language-server-protocol/specification#workDoneProgress. No client-side work was necessary. The UI is not exactly what is described in the issue but afaict that's how VS Code implements the LSP API. - The WorkDoneProgressEnd does not appear to display its message contents (controlled by vscode) Co-authored-by: Steffen Lyngbaek <[email protected]> | |||||
| * | | Fix tests part 2... | Steffen Lyngbaek | 2020-03-16 | 1 | -34/+31 | |
| | | | ||||||
| * | | Fix broken tests | Steffen Lyngbaek | 2020-03-16 | 1 | -26/+29 | |
| | | | | | | | | | | | | - Handle case of no projects. The notification still needs to be posted | |||||
| * | | Rely on the safer workspace_loaded check | Steffen Lyngbaek | 2020-03-16 | 1 | -13/+15 | |
| | | | ||||||
| * | | Fix broken tests | Steffen Lyngbaek | 2020-03-14 | 1 | -5/+10 | |
| | | | | | | | | | | | | - Properly wait for workspace loading to be done | |||||
| * | | Use idiomatic way of defining floats | Steffen Lyngbaek | 2020-03-13 | 1 | -2/+2 | |
| | | | ||||||
| * | | Use WorkDoneProgress LSP API for initial load | Steffen Lyngbaek | 2020-03-13 | 1 | -6/+65 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addresses #3283 Rather than using custom UI for showing the loaded state. Rely on the WorkDoneProgress API in 3.15.0 https://microsoft.github.io/language-server-protocol/specification#workDoneProgress. No client-side work was necessary. The UI is not exactly what is described in the issue but afaict that's how VS Code implements the LSP API. - The WorkDoneProgressEnd does not appear to display its message contents (controlled by vscode) | |||||
* | | | Merge #3603 | bors[bot] | 2020-03-16 | 6 | -10/+28 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3603: Fix crate display name dashes r=matklad a=SomeoneToIgnore A follow-up of https://github.com/rust-analyzer/rust-analyzer/pull/3602#discussion_r392733525 Co-authored-by: Kirill Bulatov <[email protected]> | |||||
| * | | | Use Display instead of a custom method | Kirill Bulatov | 2020-03-16 | 3 | -19/+17 | |
| | | | | ||||||
| * | | | Fix crate display name dashes | Kirill Bulatov | 2020-03-16 | 6 | -20/+40 | |
| | | | |