aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src
Commit message (Collapse)AuthorAgeFilesLines
* Implement autoderef for field accessesFlorian Diebold2019-01-071-19/+38
|
* Merge #442bors[bot]2019-01-071-13/+17
|\ | | | | | | | | | | | | | | | | | | | | | | 442: WIP: indent on typing dot r=matklad a=simonvandel Fixes #439. The unit test passes, but I can't seem to make VS code perform the action. The existing action on "=" doesn't work either on my end either though. I didn't add any smart way of detecting the current indent level. Any ideas how I would do that? Co-authored-by: Simon Vandel Sillesen <[email protected]>
| * indent on typing dot. fixes #439Simon Vandel Sillesen2019-01-051-13/+17
| |
* | Improve types for node_expr / node_patFlorian Diebold2019-01-062-10/+6
| |
* | Use HIR Expr for type inferenceFlorian Diebold2019-01-062-6/+17
| | | | | | | | | | Now we can reuse the type inference inside a function when typing whitespace etc. :)
* | Show types when hovering patterns as wellFlorian Diebold2019-01-061-4/+15
| |
* | fix ra_analysis to work with the new APIAleksey Kladov2019-01-064-7/+12
| |
* | split module source into decl/definAleksey Kladov2019-01-062-4/+4
| |
* | fix testsAleksey Kladov2019-01-061-16/+13
| |
* | Add fn signature queryFlorian Diebold2019-01-061-0/+1
| |
* | Make FnScopes use hir::ExprFlorian Diebold2019-01-053-9/+6
| | | | | | | | | | | | 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 HIR Expr machineryFlorian Diebold2019-01-051-0/+2
|/
* fix testsAleksey Kladov2019-01-051-1/+49
|
* show types in local variable hoversAleksey Kladov2019-01-052-10/+27
|
* kill approximatelly_resolve_symbolAleksey Kladov2019-01-054-90/+11
|
* inline goto_defention testsAleksey Kladov2019-01-052-7/+58
|
* move goto_defenition to a separate fileAleksey Kladov2019-01-053-11/+91
|
* introduce separate goto_defenitionAleksey Kladov2019-01-051-0/+7
|
* kill accidentally added fileAleksey Kladov2019-01-051-73/+0
|
* move typeof to hoverAleksey Kladov2019-01-053-18/+18
|
* fold doc_comment into hoverAleksey Kladov2019-01-053-109/+110
|
* move hover implementation to ra_analysisAleksey Kladov2019-01-053-26/+74
|
* wipAleksey Kladov2019-01-051-0/+26
|
* split import assistAleksey Kladov2019-01-051-0/+73
|
* Rename ImplsInCrateQuery as wellFlorian Diebold2019-01-041-1/+1
|
* 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
| |