Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #404 | bors[bot] | 2019-01-02 | 9 | -298/+329 |
|\ | | | | | | | | | | | | | | | 404: Move FileSymbol to ra_analysis r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | fix tests | Aleksey Kladov | 2019-01-02 | 1 | -5/+5 |
| | | |||||
| * | make FileSymbol private | Aleksey Kladov | 2019-01-02 | 2 | -8/+7 |
| | | |||||
| * | use navigation target in API | Aleksey Kladov | 2019-01-02 | 4 | -26/+44 |
| | | |||||
| * | introduce navigation target | Aleksey Kladov | 2019-01-02 | 3 | -13/+28 |
| | | |||||
| * | move symbols to ra_analysis | Aleksey Kladov | 2019-01-02 | 6 | -256/+255 |
| | | |||||
* | | Merge #403 | bors[bot] | 2019-01-02 | 22 | -344/+778 |
|\ \ | |/ |/| | | | | | | | | | | | 403: initial support for macros r=matklad a=matklad I'll write a more comprehensive description when this is closer to being done. Basically this investigates one question: "how do we represent code which is a result of a macro call". This is an interesting question: currently everything is `FileId` based, but macro expansion does not have a file! Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | small rename | Aleksey Kladov | 2019-01-02 | 2 | -3/+3 |
| | | |||||
| * | comments | Aleksey Kladov | 2019-01-02 | 3 | -12/+35 |
| | | |||||
| * | rename | Aleksey Kladov | 2019-01-02 | 2 | -2/+2 |
| | | |||||
| * | move macro id to ids | Aleksey Kladov | 2019-01-01 | 5 | -40/+40 |
| | | |||||
| * | move more stuff to ids | Aleksey Kladov | 2019-01-01 | 6 | -185/+183 |
| | | |||||
| * | rename MFileId -> HirFileId | Aleksey Kladov | 2019-01-01 | 13 | -99/+135 |
| | | |||||
| * | introduce ids module | Aleksey Kladov | 2019-01-01 | 2 | -14/+34 |
| | | |||||
| * | add tests for macro generated items | Aleksey Kladov | 2019-01-01 | 1 | -1/+83 |
| | | |||||
| * | add items from macros to modules | Aleksey Kladov | 2019-01-01 | 3 | -12/+67 |
| | | |||||
| * | wip | Aleksey Kladov | 2019-01-01 | 2 | -47/+49 |
| | | |||||
| * | fix tests | Aleksey Kladov | 2019-01-01 | 3 | -2/+3 |
| | | |||||
| * | use MFile | Aleksey Kladov | 2019-01-01 | 7 | -30/+62 |
| | | |||||
| * | introduce MFileId | Aleksey Kladov | 2019-01-01 | 1 | -0/+7 |
| | | |||||
| * | work towards brining macros to nameres | Aleksey Kladov | 2019-01-01 | 2 | -3/+16 |
| | | |||||
| * | save top-level macros in module items | Aleksey Kladov | 2019-01-01 | 3 | -14/+18 |
| | | |||||
| * | hard-code expansion of query_group | Aleksey Kladov | 2019-01-01 | 2 | -8/+60 |
| | | |||||
| * | fix tests | Aleksey Kladov | 2019-01-01 | 2 | -2/+9 |
| | | |||||
| * | rename | Aleksey Kladov | 2019-01-01 | 4 | -19/+19 |
| | | |||||
| * | move more macros to hir | Aleksey Kladov | 2019-01-01 | 8 | -85/+127 |
| | | |||||
| * | use macros database in analysis | Aleksey Kladov | 2019-01-01 | 6 | -68/+70 |
| | | |||||
| * | introduce MacrosDatabase | Aleksey Kladov | 2019-01-01 | 2 | -0/+58 |
|/ | |||||
* | Merge #401 | bors[bot] | 2019-01-01 | 2 | -0/+68 |
|\ | | | | | | | | | | | | | | | 401: complete `crate` `self` and `super` in use stmt r=matklad a=gfreezy fixed #387 Co-authored-by: gfreezy <[email protected]> | ||||
| * | place complete_use_tree_keyword in the same mod with complete_expr_keyword | gfreezy | 2019-01-01 | 3 | -77/+67 |
| | | |||||
| * | move to a seperate complete_use_tree_keyword mod | gfreezy | 2019-01-01 | 3 | -64/+77 |
| | | |||||
| * | complete "self" and "super" | gfreezy | 2019-01-01 | 1 | -20/+44 |
| | | |||||
| * | complete "use crate" for "use cr" too | gfreezy | 2019-01-01 | 1 | -2/+14 |
| | | |||||
| * | complete crate in use stmt | gfreezy | 2019-01-01 | 1 | -0/+29 |
|/ | |||||
* | Merge #400 | bors[bot] | 2019-01-01 | 2 | -27/+27 |
|\ | | | | | | | | | | | | | | | 400: updates r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | bump deps | Aleksey Kladov | 2019-01-01 | 2 | -27/+27 |
|/ | |||||
* | Merge #398 | bors[bot] | 2019-01-01 | 2 | -1/+4 |
|\ | | | | | | | | | | | | | | | 398: Fix the same bug as #396 but for bytes too r=matklad a=DJMcNab #396 Co-authored-by: DJMcNab <[email protected]> | ||||
| * | Fix the same bug as #396 but for bytes too | DJMcNab | 2019-01-01 | 2 | -1/+4 |
|/ | |||||
* | Merge #396 | bors[bot] | 2019-01-01 | 2 | -4/+10 |
|\ | | | | | | | | | | | | | | | 396: Fix the `panic` found whilst fuzzing r=matklad,me a=DJMcNab This occurred when a non-ascii character was used in an ascii escape, for example in the motivating example: `if'\xɿ`, which can be further simplified to `'\xɿ`. Co-authored-by: DJMcNab <[email protected]> | ||||
| * | Use an else if | DJMcNab | 2019-01-01 | 1 | -3/+2 |
| | | |||||
| * | Fix the `panic` found whilst fuzzing | DJMcNab | 2018-12-31 | 2 | -3/+10 |
| | | |||||
* | | Merge #395 | bors[bot] | 2018-12-31 | 5 | -26/+27 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 395: generalize r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | generalize highlighting to work with nodes | Aleksey Kladov | 2018-12-31 | 2 | -5/+5 |
| | | | |||||
| * | | generalize extend selection to work with nodes | Aleksey Kladov | 2018-12-31 | 3 | -21/+22 |
| | | | |||||
* | | | Merge #165 | bors[bot] | 2018-12-31 | 8 | -63/+288 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 165: Make modules with tests runnable r=farodin91 a=farodin91 Fixes #154 I having problems to traverse the path to module. The main problem is that module_tree only supports `FileId` and not `Module` in files. Any idea? I need to clean up the code a bit later. Co-authored-by: Jan Jansen <[email protected]> | ||||
| * | | | Make modules with tests runnable | Jan Jansen | 2018-12-31 | 8 | -63/+288 |
| | | | | | | | | | | | | | | | | Fixes #154 | ||||
* | | | | Merge #393 | bors[bot] | 2018-12-31 | 3 | -7/+35 |
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | 393: Add a fuzzing subcommand r=matklad a=DJMcNab Part of https://github.com/rust-analyzer/rust-analyzer/issues/61#issuecomment-450641045. Co-authored-by: DJMcNab <[email protected]> | ||||
| * | | | Add a fuzzing subcommand | DJMcNab | 2018-12-31 | 3 | -7/+35 |
| | |/ | |/| | |||||
* | | | fix icons in completion | Aleksey Kladov | 2018-12-31 | 1 | -1/+0 |
| | | | |||||
* | | | Merge #385 | bors[bot] | 2018-12-31 | 3 | -4/+25 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 385: Implement DocumentHighlight r=matklad a=DJMcNab Fixes #80. Co-authored-by: DJMcNab <[email protected]> |