aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | make FileSymbol privateAleksey Kladov2019-01-022-8/+7
| | |
| * | use navigation target in APIAleksey Kladov2019-01-024-26/+44
| | |
| * | introduce navigation targetAleksey Kladov2019-01-023-13/+28
| | |
| * | move symbols to ra_analysisAleksey Kladov2019-01-026-256/+255
| |/
* | Merge #403bors[bot]2019-01-0222-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 renameAleksey Kladov2019-01-022-3/+3
| |
| * commentsAleksey Kladov2019-01-023-12/+35
| |
| * renameAleksey Kladov2019-01-022-2/+2
| |
| * move macro id to idsAleksey Kladov2019-01-015-40/+40
| |
| * move more stuff to idsAleksey Kladov2019-01-016-185/+183
| |
| * rename MFileId -> HirFileIdAleksey Kladov2019-01-0113-99/+135
| |
| * introduce ids moduleAleksey Kladov2019-01-012-14/+34
| |
| * add tests for macro generated itemsAleksey Kladov2019-01-011-1/+83
| |
| * add items from macros to modulesAleksey Kladov2019-01-013-12/+67
| |
| * wipAleksey Kladov2019-01-012-47/+49
| |
| * fix testsAleksey Kladov2019-01-013-2/+3
| |
| * use MFileAleksey Kladov2019-01-017-30/+62
| |
| * introduce MFileIdAleksey Kladov2019-01-011-0/+7
| |
| * work towards brining macros to nameresAleksey Kladov2019-01-012-3/+16
| |
| * save top-level macros in module itemsAleksey Kladov2019-01-013-14/+18
| |
| * hard-code expansion of query_groupAleksey Kladov2019-01-012-8/+60
| |
| * fix testsAleksey Kladov2019-01-012-2/+9
| |
| * renameAleksey Kladov2019-01-014-19/+19
| |
| * move more macros to hirAleksey Kladov2019-01-018-85/+127
| |
| * use macros database in analysisAleksey Kladov2019-01-016-68/+70
| |
| * introduce MacrosDatabaseAleksey Kladov2019-01-012-0/+58
|/
* Merge #401bors[bot]2019-01-012-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_keywordgfreezy2019-01-013-77/+67
| |
| * move to a seperate complete_use_tree_keyword modgfreezy2019-01-013-64/+77
| |
| * complete "self" and "super"gfreezy2019-01-011-20/+44
| |
| * complete "use crate" for "use cr" toogfreezy2019-01-011-2/+14
| |
| * complete crate in use stmtgfreezy2019-01-011-0/+29
|/
* Merge #400bors[bot]2019-01-012-27/+27
|\ | | | | | | | | | | | | | | 400: updates r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * bump depsAleksey Kladov2019-01-012-27/+27
|/
* Merge #398bors[bot]2019-01-012-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 tooDJMcNab2019-01-012-1/+4
|/
* Merge #396bors[bot]2019-01-012-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 ifDJMcNab2019-01-011-3/+2
| |
| * Fix the `panic` found whilst fuzzingDJMcNab2018-12-312-3/+10
| |
* | Merge #395bors[bot]2018-12-315-26/+27
|\ \ | | | | | | | | | | | | | | | | | | | | | 395: generalize r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | generalize highlighting to work with nodesAleksey Kladov2018-12-312-5/+5
| | |
| * | generalize extend selection to work with nodesAleksey Kladov2018-12-313-21/+22
| | |
* | | Merge #165bors[bot]2018-12-318-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 runnableJan Jansen2018-12-318-63/+288
| | | | | | | | | | | | | | | | Fixes #154
* | | | Merge #393bors[bot]2018-12-313-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 subcommandDJMcNab2018-12-313-7/+35
| | |/ | |/|
* | | fix icons in completionAleksey Kladov2018-12-311-1/+0
| | |
* | | Merge #385bors[bot]2018-12-313-4/+25
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 385: Implement DocumentHighlight r=matklad a=DJMcNab Fixes #80. Co-authored-by: DJMcNab <[email protected]>
| * | Use TryConv for conversionDJMcNab2018-12-311-2/+1
| | |
| * | Implement DocumentHighlightDJMcNab2018-12-313-4/+26
| | |