aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Modernize pattern completion testsAleksey Kladov2020-07-041-88/+37
|
* Fix lookup in testsAleksey Kladov2020-07-043-0/+11
|
* Macro testsAleksey Kladov2020-07-042-119/+70
|
* Modernize testsAleksey Kladov2020-07-041-64/+60
|
* Cleanup dot completiont testsAleksey Kladov2020-07-044-720/+407
|
* CommentsAleksey Kladov2020-07-042-2/+3
|
* Better tests for completion scoringAleksey Kladov2020-07-043-192/+61
|
* Modernize completion presentation testsAleksey Kladov2020-07-041-393/+340
|
* Unify namingAleksey Kladov2020-07-041-8/+8
|
* Cleanup testsAleksey Kladov2020-07-041-172/+62
|
* Merge #5197bors[bot]2020-07-045-191/+243
|\ | | | | | | | | | | | | | | | | | | | | 5197: SSR internal refactorings r=davidlattimore a=davidlattimore - Extract error code out to a separate module - Improve error reporting when a test fails - Refactor matching code - Update tests so that all paths in search patterns can be resolved Co-authored-by: David Lattimore <[email protected]>
| * SSR: Update tests so that all paths in patterns can be resolvedDavid Lattimore2020-07-031-67/+97
| |
| * SSR: Refactor matching code.David Lattimore2020-07-031-80/+75
| | | | | | | | | | | | Mutable state is now stored in the enum Phase. MatchState, since it now has no mutable state is renamed Matcher. MatchInputs is merged into Matcher
| * SSR: Improve error reporting when a test failsDavid Lattimore2020-07-032-21/+36
| |
| * SSR: Extract error code out to a separate moduleDavid Lattimore2020-07-033-23/+35
| | | | | | | | | | This is to make reusing it outside of parsing easier in a subsequent change.
* | Cleanup more completion testsAleksey Kladov2020-07-033-331/+177
| |
* | Cleanup presentation testsAleksey Kladov2020-07-032-146/+59
| |
* | Add AssistKind::GenerateAleksey Kladov2020-07-037-26/+32
| |
* | Unify naming of generating assistsAleksey Kladov2020-07-037-206/+215
| |
* | Merge #5212bors[bot]2020-07-031-554/+489
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5212: Fix module renaming r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Fix module renamingAleksey Kladov2020-07-031-6/+53
| | |
| * | Compress rename testsAleksey Kladov2020-07-031-101/+142
| | |
| * | Use expect for rename testsAleksey Kladov2020-07-031-193/+57
| | |
| * | Adhere to code style in rename testsAleksey Kladov2020-07-031-341/+324
| | |
* | | Merge #5211bors[bot]2020-07-032-8/+48
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 5211: Fix inference of indexing argument (partly) r=flodiebold a=flodiebold We need to add the `T: Index<Arg>` obligation to be resolved later as well, otherwise we can't make inferences about `Arg` later based on the `Index` impls. This still doesn't fix indexing with integer variables though; there's a further problem with Chalk floundering because of the variable, I think. Co-authored-by: Florian Diebold <[email protected]>
| * | Fix inference of indexing argument (partly)Florian Diebold2020-07-032-8/+48
| | | | | | | | | | | | | | | | | | | | | | | | We need to add the `T: Index<Arg>` obligation to be resolved later as well, otherwise we can't make inferences about `Arg` later based on the `Index` impls. This still doesn't fix indexing with integer variables though; there's a further problem with Chalk floundering because of the variable, I think.
* | | Merge #5209bors[bot]2020-07-032-21/+44
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 5209: Fixes to memory usage stats r=matklad a=jonas-schievink This brings the unaccounted memory down from 287mb to 250mb, and displays memory used by VFS and "other" allocations. Co-authored-by: Jonas Schievink <[email protected]>
| * | Track VFS and remaining/unaccounted memoryJonas Schievink2020-07-031-4/+14
| | |
| * | Fix memory usage accounting for interned queriesJonas Schievink2020-07-031-17/+30
| | |
* | | Fix workspace reloadingAleksey Kladov2020-07-031-1/+4
|/ /
* | Merge #5205bors[bot]2020-07-031-795/+178
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5205: Refactor attribut completion tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Refactor attribut completion testsAleksey Kladov2020-07-031-645/+115
| | |
| * | Compress attribute completion testsAleksey Kladov2020-07-031-150/+63
| | |
* | | Merge #5116bors[bot]2020-07-0342-440/+589
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5116: Categorize assists r=matklad a=kjeremy Categorize assists so that editors can use them. Follows the LSP spec pretty close (and some things may need adjustments) but this populates the Refactor menu in vscode and pushes quickfixes through again. This is a prerequisite to filtering out assists that the client doesn't care about. Fixes #4147 Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: kjeremy <[email protected]>
| * | Don't categorize things we don't care aboutkjeremy2020-07-026-68/+52
| | |
| * | Move AssistKind into AssistIdkjeremy2020-07-0241-140/+90
| | |
| * | Recategorize a fewkjeremy2020-07-023-3/+3
| | |
| * | Categorize assistsJeremy Kolb2020-07-0242-506/+721
| | |
* | | Add function to test completion editAleksey Kladov2020-07-032-1/+22
| | |
* | | Refactor keyword completion testsAleksey Kladov2020-07-031-206/+198
| | |
* | | Cleanup record completion testsAleksey Kladov2020-07-034-374/+227
|/ /
* | Merge #5192bors[bot]2020-07-022-8/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5192: Implement rust-analyzer feature configuration to tests. r=matklad a=daxpedda Fixes #3198. I'm unsure if it is desired this way, maybe we want to make a seperate configuration? Co-authored-by: daxpedda <[email protected]>
| * | Implement rust-analyzer feature configuration to tests.daxpedda2020-07-022-8/+17
| |/
* | Move cargo metadata off the main loopAleksey Kladov2020-07-024-43/+56
| |
* | Merge #5191bors[bot]2020-07-022-22/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5191: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | MinorAleksey Kladov2020-07-022-22/+9
| |/
* | Merge #5188bors[bot]2020-07-026-11/+86
|\ \ | | | | | | | | | | | | | | | | | | | | | 5188: Implement StatusBar r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Indicate when project needs a reloadAleksey Kladov2020-07-024-7/+51
| | |
| * | Implement StatusBarAleksey Kladov2020-07-024-4/+35
| | |
* | | Merge #5189bors[bot]2020-07-022-9/+207
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 5189: Record and suggest assoc. items of traits via ImportMap r=matklad a=jonas-schievink Fixes https://github.com/rust-analyzer/rust-analyzer/issues/5115 Co-authored-by: Jonas Schievink <[email protected]>