Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Add macro_rules item snippet | memoryruins | 2020-01-12 | 1 | -0/+8 | |
|/ / | ||||||
* | | Remove hir usage from macro_rules! detection in structure_node() | Roland Ruckerbauer | 2020-01-12 | 2 | -6/+3 | |
| | | ||||||
* | | Use hir .path() and .name() to differentiate | Roland Ruckerbauer | 2020-01-12 | 2 | -23/+26 | |
| | | | | | | | | macro call and macro definition | |||||
* | | Added test for file_structure unidentified macro definition | Roland Ruckerbauer | 2020-01-12 | 1 | -4/+18 | |
| | | ||||||
* | | Fix file_structure() to recognize macro_rules! | Roland Ruckerbauer | 2020-01-12 | 1 | -3/+17 | |
|/ | | | | where first token != "macro_rules" | |||||
* | Fix format | Edwin Cheng | 2020-01-12 | 1 | -5/+2 | |
| | ||||||
* | 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 | |
| | |