Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify mbe match error. | Edwin Cheng | 2021-01-29 | 6 | -210/+180 |
| | | | | Handle parse error in rule parsing instead of match in mbe | ||||
* | Rename mbe_expander for consistency | Edwin Cheng | 2021-01-29 | 4 | -5/+5 |
| | |||||
* | Forbid flyimport completions in use statements | Kirill Bulatov | 2021-01-28 | 1 | -1/+22 |
| | |||||
* | Fix incorrect `FileId` and remove broken shortcut | Jonas Schievink | 2021-01-28 | 2 | -16/+9 |
| | | | | | Apparently we were using the crate's root file instead of the file containing the block. | ||||
* | Merge #7482 | bors[bot] | 2021-01-28 | 1 | -0/+63 |
|\ | | | | | | | | | | | | | | | 7482: block_def_map: add a few macro tests r=jonas-schievink a=jonas-schievink bors r+ Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | block_def_map: add a few macro tests | Jonas Schievink | 2021-01-28 | 1 | -0/+63 |
| | | |||||
* | | Merge #7412 | bors[bot] | 2021-01-28 | 11 | -199/+397 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7412: Async loading for outdir and proc-macro r=maklad a=edwin0cheng cc #7328 ![Peek 2021-01-24 02-04](https://user-images.githubusercontent.com/11014119/105610083-8f208100-5de8-11eb-8e96-c2d4e349b352.gif) [Edit] ~~Finding a way to know when the workspace and build data are loaded...~~ [Edit 2] Not perfect solution, but seem to work now. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | bug fix | Edwin Cheng | 2021-01-28 | 1 | -1/+1 |
| | | |||||
| * | Async Loading outdir and proc-macro | Edwin Cheng | 2021-01-28 | 11 | -199/+397 |
| | | |||||
* | | Update `original_module` when ascending `DefMap`s | Jonas Schievink | 2021-01-28 | 1 | -2/+5 |
| | | |||||
* | | ItemTree: Treat items in `MacroStmts` as top-level | Jonas Schievink | 2021-01-28 | 2 | -4/+32 |
|/ | |||||
* | Simplify heavy tests | Aleksey Kladov | 2021-01-28 | 1 | -18/+14 |
| | | | | | | Progress notifications are edge triggered, while status is level triggered. This makes it a hared to misuse signal for the readiness of the server. | ||||
* | Make logger-based debugging more pleasant | Aleksey Kladov | 2021-01-28 | 3 | -4/+19 |
| | |||||
* | Use RA_LOG in tests | Aleksey Kladov | 2021-01-28 | 1 | -1/+1 |
| | |||||
* | Easier to debug timeouts in tests | Aleksey Kladov | 2021-01-28 | 1 | -12/+22 |
| | |||||
* | Enable fill_match_arms in macros | Lukas Wirth | 2021-01-27 | 1 | -3/+35 |
| | |||||
* | Fix legacy macro resolution in block expressions | Jonas Schievink | 2021-01-27 | 2 | -1/+15 |
| | |||||
* | Merge #7451 | bors[bot] | 2021-01-27 | 3 | -12/+24 |
|\ | | | | | | | | | | | | | | | 7451: rust-analyzer.files.excludeDirs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Add config option to ignore directories | Aleksey Kladov | 2021-01-26 | 3 | -6/+22 |
| | | |||||
| * | Allow non-absolute paths to rust source | Aleksey Kladov | 2021-01-26 | 1 | -6/+2 |
| | | |||||
* | | Merge #7465 | bors[bot] | 2021-01-27 | 1 | -1/+19 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7465: Only hide parameter hints for path, field and methodcall expressions r=SomeoneToIgnore a=Veykril Doing this check for other expressions makes little sense to me. Fixes #7458 Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | Only hide parameter hints for path, field and methodcall expressions | Lukas Wirth | 2021-01-27 | 1 | -1/+19 |
| | | | |||||
* | | | Export `CARGO` for proc. macros | Jonas Schievink | 2021-01-27 | 1 | -1/+4 |
| | | | |||||
* | | | Bump deps | Laurențiu Nicola | 2021-01-27 | 2 | -4/+4 |
| | | | |||||
* | | | Squelch a warning | Aleksey Kladov | 2021-01-27 | 1 | -0/+1 |
| | | | |||||
* | | | add more counts | Aleksey Kladov | 2021-01-27 | 4 | -2/+8 |
| | | | |||||
* | | | Merge #7457 | bors[bot] | 2021-01-26 | 3 | -21/+83 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7457: Add no-buffering file logging and wait for a debugger option. r=vsrs a=vsrs Adds two command line flags: `--no-buffering` and `--wait-dbg`. Not sure if someone else needs this, but personally I found both flags extremely useful trying to figure out why RA does not work with Visual Studio. Or better to say why Visual Studio does not work with RA. Co-authored-by: vsrs <[email protected]> | ||||
| * | | | Apply suggestions. | vsrs | 2021-01-26 | 2 | -11/+17 |
| | | | | |||||
| * | | | cargo fmt | vsrs | 2021-01-26 | 1 | -1/+1 |
| | | | | |||||
| * | | | Add debug only guard for the --wait-dbg flag | vsrs | 2021-01-26 | 2 | -1/+4 |
| | | | | |||||
| * | | | Add RA_WAIT_DBG and docs | vsrs | 2021-01-25 | 2 | -1/+2 |
| | | | | |||||
| * | | | Add the ability to wait for a debugger. | vsrs | 2021-01-25 | 2 | -7/+45 |
| | | | | |||||
| * | | | Add stderr flush | vsrs | 2021-01-25 | 2 | -8/+16 |
| | | | | |||||
| * | | | Add --no-buffering flag for the file logging. | vsrs | 2021-01-25 | 3 | -15/+21 |
| | | | | |||||
* | | | | Make always-assert crate reusable | Aleksey Kladov | 2021-01-26 | 8 | -71/+11 |
| | | | | |||||
* | | | | Add failing test case | Dániel Buga | 2021-01-26 | 1 | -0/+28 |
| |_|/ |/| | | |||||
* | | | Merge #7450 | bors[bot] | 2021-01-26 | 1 | -11/+28 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7450: Remove the need to manually sync config in package.json r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | | Remove the need to manually sync config in package.json | Aleksey Kladov | 2021-01-26 | 1 | -11/+28 |
| | |/ | |/| | |||||
* | | | Merge #7433 | bors[bot] | 2021-01-26 | 4 | -89/+228 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7433: Support Macro v2 in mbe r=jonas-schievink a=edwin0cheng Added `mbe::MacroDef` for Macro v2. cc @jonas-schievink Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | | | Support Macro v2 in mbe | Edwin Cheng | 2021-01-25 | 4 | -89/+228 |
| | |/ | |/| | |||||
* | | | Merge #7393 | bors[bot] | 2021-01-26 | 1 | -1/+50 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7393: Document `paths` items r=matklad a=arnaudgolfouse Co-authored-by: Arnaud <[email protected]> | ||||
| * | | | Document `paths` items | Arnaud | 2021-01-22 | 1 | -1/+50 |
| | | | | |||||
* | | | | Merge #7406 | bors[bot] | 2021-01-26 | 4 | -22/+106 |
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | 7406: if_let_match: don't assume happy path r=matklad a=bugadani Closes #7392 Co-authored-by: Dániel Buga <[email protected]> | ||||
| * | | | Deduplicate variant matching | Dániel Buga | 2021-01-22 | 3 | -42/+25 |
| | | | | |||||
| * | | | replace_if_let_with_match: don't assume sad pattern | Dániel Buga | 2021-01-22 | 2 | -2/+103 |
| | | | | |||||
* | | | | Shorten hir::TypeParam full_range in NavigationTarget | Lukas Wirth | 2021-01-26 | 2 | -4/+23 |
| | | | | |||||
* | | | | Traverse parent DefMap for `super` paths | Jonas Schievink | 2021-01-25 | 2 | -9/+54 |
| | | | | |||||
* | | | | Intern block locations and handle them in ModuleId | Jonas Schievink | 2021-01-25 | 5 | -65/+104 |
| |_|/ |/| | | |||||
* | | | Merge #7426 | bors[bot] | 2021-01-25 | 11 | -87/+48 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7426: Create all `ModuleId`s through a `DefMap` method r=jonas-schievink a=jonas-schievink `ModuleId` needs to be able to represent blocks, and only the associated `DefMap` will know how to construct that `ModuleId` bors r+ Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | | | Create all `ModuleId`s through a `DefMap` method | Jonas Schievink | 2021-01-25 | 11 | -87/+48 |
| | | | | | | | | | | | | | | | | | | | | `ModuleId` needs to be able to represent blocks, and only the associated `DefMap` will know how to construct that `ModuleId` |