aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | Rename mbe_expander for consistencyEdwin Cheng2021-01-294-5/+5
| |
* | Forbid flyimport completions in use statementsKirill Bulatov2021-01-281-1/+22
| |
* | Fix incorrect `FileId` and remove broken shortcutJonas Schievink2021-01-282-16/+9
| | | | | | | | | | Apparently we were using the crate's root file instead of the file containing the block.
* | Merge #7482bors[bot]2021-01-281-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 testsJonas Schievink2021-01-281-0/+63
| | |
* | | Merge #7412bors[bot]2021-01-2811-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 fixEdwin Cheng2021-01-281-1/+1
| | |
| * | Async Loading outdir and proc-macroEdwin Cheng2021-01-2811-199/+397
| |/
* | Update `original_module` when ascending `DefMap`sJonas Schievink2021-01-281-2/+5
| |
* | ItemTree: Treat items in `MacroStmts` as top-levelJonas Schievink2021-01-282-4/+32
|/
* Simplify heavy testsAleksey Kladov2021-01-281-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 pleasantAleksey Kladov2021-01-283-4/+19
|
* Use RA_LOG in testsAleksey Kladov2021-01-281-1/+1
|
* Easier to debug timeouts in testsAleksey Kladov2021-01-281-12/+22
|
* Enable fill_match_arms in macrosLukas Wirth2021-01-271-3/+35
|
* Fix legacy macro resolution in block expressionsJonas Schievink2021-01-272-1/+15
|
* Merge #7451bors[bot]2021-01-273-12/+24
|\ | | | | | | | | | | | | | | 7451: rust-analyzer.files.excludeDirs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Add config option to ignore directoriesAleksey Kladov2021-01-263-6/+22
| |
| * Allow non-absolute paths to rust sourceAleksey Kladov2021-01-261-6/+2
| |
* | Merge #7465bors[bot]2021-01-271-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 expressionsLukas Wirth2021-01-271-1/+19
| | |
* | | Export `CARGO` for proc. macrosJonas Schievink2021-01-271-1/+4
| | |
* | | Bump depsLaurențiu Nicola2021-01-272-4/+4
| | |
* | | Squelch a warningAleksey Kladov2021-01-271-0/+1
| | |
* | | add more countsAleksey Kladov2021-01-274-2/+8
| | |
* | | Merge #7457bors[bot]2021-01-263-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.vsrs2021-01-262-11/+17
| | | |
| * | | cargo fmtvsrs2021-01-261-1/+1
| | | |
| * | | Add debug only guard for the --wait-dbg flagvsrs2021-01-262-1/+4
| | | |
| * | | Add RA_WAIT_DBG and docsvsrs2021-01-252-1/+2
| | | |
| * | | Add the ability to wait for a debugger.vsrs2021-01-252-7/+45
| | | |
| * | | Add stderr flushvsrs2021-01-252-8/+16
| | | |
| * | | Add --no-buffering flag for the file logging.vsrs2021-01-253-15/+21
| | | |
* | | | Make always-assert crate reusableAleksey Kladov2021-01-268-71/+11
| | | |
* | | | Add failing test caseDániel Buga2021-01-261-0/+28
| |_|/ |/| |
* | | Merge #7450bors[bot]2021-01-261-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.jsonAleksey Kladov2021-01-261-11/+28
| | |/ | |/|
* | | Merge #7433bors[bot]2021-01-264-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 mbeEdwin Cheng2021-01-254-89/+228
| | |/ | |/|
* | | Merge #7393bors[bot]2021-01-261-1/+50
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7393: Document `paths` items r=matklad a=arnaudgolfouse Co-authored-by: Arnaud <[email protected]>
| * | | Document `paths` itemsArnaud2021-01-221-1/+50
| | | |
* | | | Merge #7406bors[bot]2021-01-264-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 matchingDániel Buga2021-01-223-42/+25
| | | |
| * | | replace_if_let_with_match: don't assume sad patternDániel Buga2021-01-222-2/+103
| | | |
* | | | Shorten hir::TypeParam full_range in NavigationTargetLukas Wirth2021-01-262-4/+23
| | | |
* | | | Traverse parent DefMap for `super` pathsJonas Schievink2021-01-252-9/+54
| | | |
* | | | Intern block locations and handle them in ModuleIdJonas Schievink2021-01-255-65/+104
| |_|/ |/| |
* | | Merge #7426bors[bot]2021-01-2511-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` methodJonas Schievink2021-01-2511-87/+48
| | | | | | | | | | | | | | | | | | | | `ModuleId` needs to be able to represent blocks, and only the associated `DefMap` will know how to construct that `ModuleId`
* | | | Derive Default on ItemTreeLaurențiu Nicola2021-01-252-12/+3
|/ / /