aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* Use prev_token and next_tokenEdwin Cheng2020-01-121-44/+47
|
* Use indices first and last instead of min-maxEdwin Cheng2020-01-121-3/+4
|
* Use first and last token onlyEdwin Cheng2020-01-121-35/+56
|
* Handle extend selection in recursive macroEdwin Cheng2020-01-121-27/+49
|
* Minor fixEdwin Cheng2020-01-121-5/+4
|
* Fix formattingEdwin Cheng2020-01-121-1/+1
|
* Supporting extend selection inside macro callsEdwin Cheng2020-01-121-14/+109
|
* Merge #2807bors[bot]2020-01-124-2/+55
|\ | | | | | | | | | | | | | | | | | | 2807: Use attr location for builtin derive in goto-implementation r=matklad a=edwin0cheng This PR is use attribute location for builtin derive in `ImplBlock`'s NavigationTarget such that the goto-implementation will goto to a correct position. Related to #2531 Co-authored-by: Edwin Cheng <[email protected]>
| * Add testEdwin Cheng2020-01-121-0/+12
| |
| * Use attr location for builtin macro goto-impEdwin Cheng2020-01-123-2/+43
| |
* | Qualify paths in 'fill match arms' assistFlorian Diebold2020-01-123-19/+55
|/
* Merge #2803bors[bot]2020-01-113-1/+100
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2803: Fix various names, e.g. Iterator not resolving in core prelude r=matklad a=flodiebold Basically, `Iterator` is re-exported via several steps, which happened to not be resolved yet when we got to the prelude import, but since the name resolved to the reexport from `core::iter` (just to no actual items), we gave up trying to resolve it further. Maybe part of the problem is that we can have `PartialResolvedImport::Unresolved` or `PartialResolvedImport::Indeterminate` with `None` in all namespaces, and handle them differently. Fixes #2683. Co-authored-by: Florian Diebold <[email protected]>
| * Fix various names, e.g. Iterator not resolving in core preludeFlorian Diebold2020-01-113-1/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | Basically, `Iterator` is re-exported via several steps, which happened to not be resolved yet when we got to the prelude import, but since the name resolved to the reexport from `core::iter` (just to no actual items), we gave up trying to resolve it further. Maybe part of the problem is that we can have `PartialResolvedImport::Unresolved` or `PartialResolvedImport::Indeterminate` with `None` in all namespaces, and handle them differently. Fixes #2683.
* | Use FxHashMapFlorian Diebold2020-01-112-3/+4
| |
* | Apply review suggestionsFlorian Diebold2020-01-119-47/+35
| |
* | Fix ordering problem between qualifying paths and substituting paramsFlorian Diebold2020-01-117-126/+206
| |
* | Some more refactoringFlorian Diebold2020-01-112-8/+16
| |
* | Fix file ID when qualifying paths; add another failing testFlorian Diebold2020-01-111-3/+31
| |
* | Handle type argsFlorian Diebold2020-01-112-9/+19
| |
* | More failing testsFlorian Diebold2020-01-111-1/+126
| |
* | Qualify some paths in 'add missing impl members'Florian Diebold2020-01-116-3/+128
| |
* | Use `self`Florian Diebold2020-01-111-0/+20
| |
* | CleanupFlorian Diebold2020-01-111-13/+25
| |
* | Handle cyclesFlorian Diebold2020-01-111-5/+54
| |
* | Use query for importable locationsFlorian Diebold2020-01-114-34/+77
| |
* | Use super, don't use private importsFlorian Diebold2020-01-111-2/+48
| |
* | Use shortest pathFlorian Diebold2020-01-111-4/+19
| |
* | handle most casesFlorian Diebold2020-01-112-11/+67
| |
* | basics workingFlorian Diebold2020-01-112-5/+117
| |
* | more WIPFlorian Diebold2020-01-112-12/+122
| |
* | find_path WIPFlorian Diebold2020-01-113-0/+58
| |
* | Add testFlorian Diebold2020-01-111-0/+23
|/
* Merge #2791bors[bot]2020-01-114-4/+26
|\ | | | | | | | | | | | | | | | | | | 2791: Slightly more robust cargo watcher root search r=kiljacken a=kiljacken Fixes #2780 (hopefully). Use the already painstakingly found `workspaces` instead of naively using `folder_roots` from editor. Co-authored-by: Emil Lauridsen <[email protected]>
| * Clean up straggling mutEmil Lauridsen2020-01-111-1/+1
| |
| * Disable cargo checking in workspaces with no cargo projectsEmil Lauridsen2020-01-112-14/+20
| |
| * Address nitEmil Lauridsen2020-01-103-3/+7
| |
| * Slightly more robust cargo watcher root searchEmil Lauridsen2020-01-102-4/+16
| |
* | Merge #2795bors[bot]2020-01-111-2/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2795: Use dummy value for macro file in bulitin macros r=matklad a=edwin0cheng This PR skip the actual line and column computation for `MacroFile` and return a dummy value instead. Related to #2794 Co-authored-by: Edwin Cheng <[email protected]>
| * | Use dummy value for macro file in bulitin macrosEdwin Cheng2020-01-111-2/+10
| | |
* | | Merge #2790bors[bot]2020-01-112-1/+81
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 2790: Add test for macro expansion in various expressions r=edwin0cheng a=flodiebold cc @edwin0cheng Co-authored-by: Florian Diebold <[email protected]>
| * | Add test for macro expansion in various expressionsFlorian Diebold2020-01-102-1/+81
| |/
* | Fix Write being sent down the wire.kjeremy2020-01-101-3/+3
| | | | | | | | Not sure what the deal is here but it wasn't sending Write.
* | Add AccessMode to declskjeremy2020-01-101-8/+57
| |
* | Split Declaration out into it's own typekjeremy2020-01-102-49/+55
| |
* | Simplify and update tests to account for accesskjeremy2020-01-101-48/+53
| |
* | TweaksJeremy Kolb2020-01-101-13/+35
| |
* | Basic DocumentHighlightKind support for assignmentsJeremy Kolb2020-01-105-17/+107
|/
* Add missing expr cases for expand macroEdwin Cheng2020-01-101-1/+23
|
* Merge #2786bors[bot]2020-01-101-1/+19
|\ | | | | | | | | | | | | | | | | | | | | | | 2786: Proper handling local in hover r=flodiebold a=edwin0cheng This PR implement back the `Local` hover information generation, which is fall back to a general case catch previously : https://github.com/rust-analyzer/rust-analyzer/blob/9a44f627be0b3c49184e3ad594849f9b5ed78daa/crates/ra_ide/src/hover.rs#L173-L182 Co-authored-by: Edwin Cheng <[email protected]>
| * Proper handling local in hoverEdwin Cheng2020-01-101-1/+19
| |