aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src
Commit message (Collapse)AuthorAgeFilesLines
* Add a test for self field completionFlorian Diebold2019-01-042-1/+21
| | | | Needed to add a default crate graph in the analysis for that.
* Add HIR for impl blocksFlorian Diebold2019-01-041-0/+1
| | | | | | | | | Since we need to be able to go from def to containing impl block, as well as the other direction, and to find all impls for a certain type, a design similar to the one for modules, where we collect all impls for the whole crate and keep them in an arena, seemed fitting. The ImplBlock type, which provides the public interface, then consists only of an Arc to the arena containing all impls, and the index into it.
* parse doc comment for itemscsmoe2019-01-041-1/+1
|
* index stuff produced by macrosAleksey Kladov2019-01-031-10/+19
|
* construct index from symbols directlyAleksey Kladov2019-01-031-13/+16
|
* embed file_id into FileSymbolAleksey Kladov2019-01-033-35/+34
|
* more enterprisey assists APIAleksey Kladov2019-01-031-13/+3
|
* split assists over several filesAleksey Kladov2019-01-031-1/+1
|
* rename code-actions -> assistsAleksey Kladov2019-01-031-6/+6
|
* hardcode vec macroAleksey Kladov2019-01-031-1/+9
|
* docsAleksey Kladov2019-01-032-3/+33
|
* use LocalPtr in navigation targetAleksey Kladov2019-01-032-1/+7
|
* use LocalSyntaxPtr for file symbolAleksey Kladov2019-01-033-53/+49
|
* move some logic to navigation targetAleksey Kladov2019-01-033-113/+127
|
* explain that completion shouldn't do filteringAleksey Kladov2019-01-031-1/+15
|
* simplify runnablesAleksey Kladov2019-01-023-73/+61
|
* fix compilationAleksey Kladov2019-01-022-2/+2
|
* doctringsAleksey Kladov2019-01-021-28/+62
|
* get rid of AnalysisImplAleksey Kladov2019-01-022-101/+80
|
* remove AnalysisHostImplAleksey Kladov2019-01-022-45/+26
|
* remove some methods from analysis implAleksey Kladov2019-01-022-22/+13
|
* move world-symbols to file_symbolsAleksey Kladov2019-01-023-42/+42
|
* Merge #404bors[bot]2019-01-023-24/+166
|\ | | | | | | | | | | | | | | 404: Move FileSymbol to ra_analysis r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * make FileSymbol privateAleksey Kladov2019-01-022-8/+7
| |
| * use navigation target in APIAleksey Kladov2019-01-022-7/+19
| |
| * introduce navigation targetAleksey Kladov2019-01-022-8/+23
| |
| * move symbols to ra_analysisAleksey Kladov2019-01-023-8/+124
| |
* | rename MFileId -> HirFileIdAleksey Kladov2019-01-013-4/+4
| |
* | add items from macros to modulesAleksey Kladov2019-01-011-0/+1
| |
* | hard-code expansion of query_groupAleksey Kladov2019-01-011-1/+23
| |
* | renameAleksey Kladov2019-01-011-4/+4
| |
* | move more macros to hirAleksey Kladov2019-01-015-43/+14
| |
* | use macros database in analysisAleksey Kladov2019-01-014-62/+22
|/
* 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 #395bors[bot]2018-12-312-14/+19
|\ | | | | | | | | | | | | | | 395: generalize r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * generalize highlighting to work with nodesAleksey Kladov2018-12-311-2/+2
| |
| * generalize extend selection to work with nodesAleksey Kladov2018-12-311-12/+17
| |
* | Make modules with tests runnableJan Jansen2018-12-313-4/+104
|/ | | | Fixes #154
* Merge #375bors[bot]2018-12-302-2/+31
|\ | | | | | | | | | | | | | | | | | | 375: Move renames into ra_analysis and rename the correct range r=DJMcNab a=DJMcNab Fixes #230. Supersedes #235. TODO: add some tests for this Co-authored-by: DJMcNab <[email protected]>
| * Move renames into ra_analysisDJMcNab2018-12-302-2/+31
| |
* | 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
|
* Merge #358bors[bot]2018-12-302-0/+6
|\ | | | | | | | | | | | | | | | | | | | | | | 358: Add support for formatting entire document with rustfmt r=matklad a=aleksanb Attempting to format a document when rustfmt isn't installed will result in an error being returned to the frontend. An alternative implementation would be returning zero replacements. Part of https://github.com/rust-analyzer/rust-analyzer/issues/160. Co-authored-by: Aleksander Vognild Burkow <[email protected]>