aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge #5220bors[bot]2020-07-046-183/+141
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5220: Fix lookup in tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Fix lookup in testsAleksey Kladov2020-07-043-0/+11
| | |
| * | Macro testsAleksey Kladov2020-07-042-119/+70
| | |
| * | Modernize testsAleksey Kladov2020-07-041-64/+60
|/ /
* | Merge #5219bors[bot]2020-07-046-1301/+695
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5219: Cleanup dot completiont tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | 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.
* | | Merge #5215bors[bot]2020-07-033-331/+177
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5215: Cleanup more completion tests r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Cleanup more completion testsAleksey Kladov2020-07-033-331/+177
| | | |
* | | | Merge #5214bors[bot]2020-07-032-146/+59
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5214: Cleanup presentation tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Cleanup presentation testsAleksey Kladov2020-07-032-146/+59
|/ / /
* | | Merge #5213bors[bot]2020-07-039-228/+243
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5213: Add AssistKind::Generate r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Add AssistKind::GenerateAleksey Kladov2020-07-037-26/+32
| | | |
| * | | Unify naming of generating assistsAleksey Kladov2020-07-038-207/+216
|/ / /
* | | 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 #5203bors[bot]2020-07-031-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5203: Fix typo in description of vscode setting r=matklad a=Nashenas88 Co-authored-by: Paul Daniel Faria <[email protected]>
| * | | | Fix typo in description of vscode settingPaul Daniel Faria2020-07-031-1/+1
| | | | |
* | | | | 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
| | | | |
* | | | | Merge #5210bors[bot]2020-07-031-1/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5210: Fix workspace reloading r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | Fix workspace reloadingAleksey Kladov2020-07-031-1/+4
|/ / / / /
* | | | | Merge #5207bors[bot]2020-07-031-17/+4
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5207: :arrow_up: salsa r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | :arrow_up: salsaAleksey Kladov2020-07-031-17/+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 #5202bors[bot]2020-07-036-25/+235
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5202: Runnable env r=matklad a=vsrs This PR adds on option to specify (in the settings.json) environment variables passed to the runnable. The simplest way for all runnables in a bunch: ```jsonc "rust-analyzer.runnableEnv": { "RUN_SLOW_TESTS": "1" } ``` Or it is possible to specify vars more granularly: ```jsonc "rust-analyzer.runnableEnv": [ { // "mask": null, // null mask means that this rule will be applied for all runnables env: { "APP_ID": "1", "APP_DATA": "asdf" } }, { "mask": "test_name", "env": { "APP_ID": "2", // overwrites only APP_ID } } ] ``` You can use any valid RegExp as a mask. Also note that a full runnable name is something like *run bin_or_example_name*, *test some::mod::test_name* or *test-mod some::mod*, so it is possible to distinguish binaries, single tests, and test modules with this masks: `"^run"`, `"^test "` (the trailing space matters!), and `"^test-mod"` respectively. Fixes #4450 I suppose this info should be somewhere in the docs, but unsure where is the best place. Co-authored-by: vsrs <[email protected]>
| * | | | Fix tag levelvsrs2020-07-031-1/+1
| | | | |
| * | | | remove ---vsrs2020-07-031-6/+4
| | | | |
| * | | | Add docsvsrs2020-07-031-12/+46
| | | | |
| * | | | Fix workspaceRootvsrs2020-07-031-1/+3
| | | | |
| * | | | code lintingvsrs2020-07-033-32/+32
| | | | |
| * | | | Add testsvsrs2020-07-034-10/+128
| | | | |
| * | | | Add runnable env support.vsrs2020-07-034-11/+69
| | | | |