aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| | | |
* | | | Merge #5116bors[bot]2020-07-0343-442/+593
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | |
| * | | Pass CodeActionKind through our middleware to populate menusJeremy Kolb2020-07-021-2/+4
| | | |
| * | | Categorize assistsJeremy Kolb2020-07-0242-506/+721
| | | |
* | | | Merge #5201bors[bot]2020-07-032-1/+22
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5201: Add function to test completion edit r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Add function to test completion editAleksey Kladov2020-07-032-1/+22
|/ / /
* | | Merge #5200bors[bot]2020-07-031-206/+198
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5200: Refactor keyword completion tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Refactor keyword completion testsAleksey Kladov2020-07-031-206/+198
|/ / /
* | | Merge #5199bors[bot]2020-07-034-374/+227
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | 5199: Cleanup record completion tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | 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]>