Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use prev_token and next_token | Edwin Cheng | 2020-01-12 | 1 | -44/+47 | |
| | ||||||
* | Use indices first and last instead of min-max | Edwin Cheng | 2020-01-12 | 1 | -3/+4 | |
| | ||||||
* | Use first and last token only | Edwin Cheng | 2020-01-12 | 1 | -35/+56 | |
| | ||||||
* | Handle extend selection in recursive macro | Edwin Cheng | 2020-01-12 | 1 | -27/+49 | |
| | ||||||
* | Minor fix | Edwin Cheng | 2020-01-12 | 1 | -5/+4 | |
| | ||||||
* | Fix formatting | Edwin Cheng | 2020-01-12 | 1 | -1/+1 | |
| | ||||||
* | Supporting extend selection inside macro calls | Edwin Cheng | 2020-01-12 | 1 | -14/+109 | |
| | ||||||
* | Merge #2807 | bors[bot] | 2020-01-12 | 4 | -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 test | Edwin Cheng | 2020-01-12 | 1 | -0/+12 | |
| | | ||||||
| * | Use attr location for builtin macro goto-imp | Edwin Cheng | 2020-01-12 | 3 | -2/+43 | |
| | | ||||||
* | | Qualify paths in 'fill match arms' assist | Florian Diebold | 2020-01-12 | 3 | -19/+55 | |
|/ | ||||||
* | Merge #2803 | bors[bot] | 2020-01-11 | 3 | -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 prelude | Florian Diebold | 2020-01-11 | 3 | -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 FxHashMap | Florian Diebold | 2020-01-11 | 2 | -3/+4 | |
| | | ||||||
* | | Apply review suggestions | Florian Diebold | 2020-01-11 | 9 | -47/+35 | |
| | | ||||||
* | | Fix ordering problem between qualifying paths and substituting params | Florian Diebold | 2020-01-11 | 7 | -126/+206 | |
| | | ||||||
* | | Some more refactoring | Florian Diebold | 2020-01-11 | 2 | -8/+16 | |
| | | ||||||
* | | Fix file ID when qualifying paths; add another failing test | Florian Diebold | 2020-01-11 | 1 | -3/+31 | |
| | | ||||||
* | | Handle type args | Florian Diebold | 2020-01-11 | 2 | -9/+19 | |
| | | ||||||
* | | More failing tests | Florian Diebold | 2020-01-11 | 1 | -1/+126 | |
| | | ||||||
* | | Qualify some paths in 'add missing impl members' | Florian Diebold | 2020-01-11 | 6 | -3/+128 | |
| | | ||||||
* | | Use `self` | Florian Diebold | 2020-01-11 | 1 | -0/+20 | |
| | | ||||||
* | | Cleanup | Florian Diebold | 2020-01-11 | 1 | -13/+25 | |
| | | ||||||
* | | Handle cycles | Florian Diebold | 2020-01-11 | 1 | -5/+54 | |
| | | ||||||
* | | Use query for importable locations | Florian Diebold | 2020-01-11 | 4 | -34/+77 | |
| | | ||||||
* | | Use super, don't use private imports | Florian Diebold | 2020-01-11 | 1 | -2/+48 | |
| | | ||||||
* | | Use shortest path | Florian Diebold | 2020-01-11 | 1 | -4/+19 | |
| | | ||||||
* | | handle most cases | Florian Diebold | 2020-01-11 | 2 | -11/+67 | |
| | | ||||||
* | | basics working | Florian Diebold | 2020-01-11 | 2 | -5/+117 | |
| | | ||||||
* | | more WIP | Florian Diebold | 2020-01-11 | 2 | -12/+122 | |
| | | ||||||
* | | find_path WIP | Florian Diebold | 2020-01-11 | 3 | -0/+58 | |
| | | ||||||
* | | Add test | Florian Diebold | 2020-01-11 | 1 | -0/+23 | |
|/ | ||||||
* | Merge #2791 | bors[bot] | 2020-01-11 | 4 | -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 mut | Emil Lauridsen | 2020-01-11 | 1 | -1/+1 | |
| | | ||||||
| * | Disable cargo checking in workspaces with no cargo projects | Emil Lauridsen | 2020-01-11 | 2 | -14/+20 | |
| | | ||||||
| * | Address nit | Emil Lauridsen | 2020-01-10 | 3 | -3/+7 | |
| | | ||||||
| * | Slightly more robust cargo watcher root search | Emil Lauridsen | 2020-01-10 | 2 | -4/+16 | |
| | | ||||||
* | | Merge #2795 | bors[bot] | 2020-01-11 | 1 | -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 macros | Edwin Cheng | 2020-01-11 | 1 | -2/+10 | |
| | | | ||||||
* | | | Merge #2790 | bors[bot] | 2020-01-11 | 2 | -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 expressions | Florian Diebold | 2020-01-10 | 2 | -1/+81 | |
| |/ | ||||||
* | | Fix Write being sent down the wire. | kjeremy | 2020-01-10 | 1 | -3/+3 | |
| | | | | | | | | Not sure what the deal is here but it wasn't sending Write. | |||||
* | | Add AccessMode to decls | kjeremy | 2020-01-10 | 1 | -8/+57 | |
| | | ||||||
* | | Split Declaration out into it's own type | kjeremy | 2020-01-10 | 2 | -49/+55 | |
| | | ||||||
* | | Simplify and update tests to account for access | kjeremy | 2020-01-10 | 1 | -48/+53 | |
| | | ||||||
* | | Tweaks | Jeremy Kolb | 2020-01-10 | 1 | -13/+35 | |
| | | ||||||
* | | Basic DocumentHighlightKind support for assignments | Jeremy Kolb | 2020-01-10 | 5 | -17/+107 | |
|/ | ||||||
* | Add missing expr cases for expand macro | Edwin Cheng | 2020-01-10 | 1 | -1/+23 | |
| | ||||||
* | Merge #2786 | bors[bot] | 2020-01-10 | 1 | -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 hover | Edwin Cheng | 2020-01-10 | 1 | -1/+19 | |
| | |