aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/completion
Commit message (Collapse)AuthorAgeFilesLines
* Make FnScopes use hir::ExprFlorian Diebold2019-01-051-6/+3
| | | | | | This was a bit complicated. I've added a wrapper type for now that does the LocalSyntaxPtr <-> ExprId translation; we might want to get rid of that or give it a nicer interface.
* Add a test for self field completionFlorian Diebold2019-01-041-0/+15
| | | | Needed to add a default crate graph in the analysis for that.
* rename MFileId -> HirFileIdAleksey Kladov2019-01-011-1/+1
|
* place complete_use_tree_keyword in the same mod with complete_expr_keywordgfreezy2019-01-012-75/+66
|
* move to a seperate complete_use_tree_keyword modgfreezy2019-01-012-64/+75
|
* 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
|
* refine semi completionAleksey Kladov2018-12-302-16/+34
|
* semies after break&continueAleksey Kladov2018-12-301-4/+33
|
* add `;` to last return in blockAleksey Kladov2018-12-302-15/+46
|
* don't add () in use itemsAleksey Kladov2018-12-303-10/+32
|
* use completion context when creating completionAleksey Kladov2018-12-303-8/+8
|
* add paramthesis when completing functionsAleksey Kladov2018-12-302-10/+39
|
* completion for enum variantsAleksey Kladov2018-12-282-9/+31
|
* add function to completion ctxAleksey Kladov2018-12-275-21/+18
|
* Add a hir::TypeRef as an intermediate between ast::TypeRef and ty::TyFlorian Diebold2018-12-251-1/+1
|
* Determine receiver for completion in a more robust wayFlorian Diebold2018-12-252-21/+31
| | | | Also rename a parameter.
* Implement basic completion for fieldsFlorian Diebold2018-12-253-5/+128
|
* Do name resolution by namespace (types/values)Florian Diebold2018-12-252-11/+26
|
* completion uses hir scopesAleksey Kladov2018-12-221-21/+23
|
* fix snippet iconAleksey Kladov2018-12-211-1/+1
|
* binding iconAleksey Kladov2018-12-212-2/+5
|
* moar iconsAleksey Kladov2018-12-213-4/+29
|
* specify completion item kindAleksey Kladov2018-12-213-11/+16
|
* cleanupAleksey Kladov2018-12-214-29/+34
|
* introduce ComletionItemKindAleksey Kladov2018-12-216-34/+28
|
* rename completion kindAleksey Kladov2018-12-211-6/+6
|
* cleanupAleksey Kladov2018-12-215-15/+7
|
* docsAleksey Kladov2018-12-216-11/+167
|
* rename testsAleksey Kladov2018-12-211-8/+8
|
* scope-based copmletions on original fileAleksey Kladov2018-12-213-308/+172
|
* move path completion to a separate componentAleksey Kladov2018-12-212-30/+98
|
* more completion componentsAleksey Kladov2018-12-213-81/+79
|
* Start splitting completion into componentsAleksey Kladov2018-12-213-222/+316
|
* add tests for pdAleksey Kladov2018-12-211-2/+13
|
* organize completion tests betterAleksey Kladov2018-12-212-12/+444
|
* use Completions to collect completionsAleksey Kladov2018-12-212-19/+26
|
* docsAleksey Kladov2018-12-211-0/+5
|
* introduce CompletionsAleksey Kladov2018-12-211-0/+23
|
* make compleion item details privateAleksey Kladov2018-12-212-24/+40
|
* use builder interface for completion itemAleksey Kladov2018-12-212-54/+35
|
* introduce completion_item moduleAleksey Kladov2018-12-212-5/+47
|
* grand module renameAleksey Kladov2018-12-081-443/+0
|
* move fuzzy source binding to a separete modeAleksey Kladov2018-12-051-1/+2
|
* Add functions to DefIdAleksey Kladov2018-12-041-1/+1
|
* Merge #250bors[bot]2018-12-022-5/+11
|\ | | | | | | | | | | | | | | | | 250: Improve the suggestion for test functions r=DJMcNab a=DJMcNab I haven't fully updated the previous commented out test - I don't know why it was commented out so some clarification would be welcome. Co-authored-by: Daniel McNab <[email protected]> Co-authored-by: DJMcNab <[email protected]>
| * Fix formattingDJMcNab2018-12-021-4/+4
| |
| * Format completion text properlyDaniel McNab2018-11-281-2/+5
| |
| * Add tfn lookup and remove test prefixDaniel McNab2018-11-282-3/+3
| |