aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/source_binder.rs
Commit message (Collapse)AuthorAgeFilesLines
* complete_import: prevent panic when the anchor is the completion source rangeAndrea Pretto2019-04-211-5/+1
| | | | | | (fix rebase mess) Please enter the commit message for your changes. Lines starting
* complete_import: add new import resolver infrastructure with some hardcoded ↵Andrea Pretto2019-04-211-1/+18
| | | | | | importable name. Changes complete_scope to support that.
* Refactor method candidate generation a bitFlorian Diebold2019-04-141-1/+11
| | | | | | This fixes the order in which candidates are chosen a bit (not completely though, as the ignored test demonstrates), and makes autoderef work with trait methods. As a side effect, this also makes completion of trait methods work :)
* cleanupsAleksey Kladov2019-04-131-3/+11
|
* slight encapsulationAleksey Kladov2019-04-131-2/+2
|
* move ScopeEntryWithSyntaxAleksey Kladov2019-04-131-1/+17
|
* drop obsolete fixmeAleksey Kladov2019-04-131-4/+4
|
* hide resolverAleksey Kladov2019-04-131-6/+14
|
* fold ScopeWithSyntax into SourceAnalyzerAleksey Kladov2019-04-131-37/+125
|
* make privateAleksey Kladov2019-04-131-1/+1
|
* only def-with-body remainsAleksey Kladov2019-04-131-13/+3
|
* generalizeAleksey Kladov2019-04-131-15/+7
|
* simplifyAleksey Kladov2019-04-131-10/+5
|
* simplifyAleksey Kladov2019-04-131-7/+1
|
* make privateAleksey Kladov2019-04-131-1/+1
|
* hide some scopesAleksey Kladov2019-04-131-0/+11
|
* simplifyAleksey Kladov2019-04-121-6/+0
|
* make stuff privateAleksey Kladov2019-04-121-6/+2
|
* simplifyAleksey Kladov2019-04-121-54/+22
|
* simplify testsAleksey Kladov2019-04-121-0/+10
|
* use really correct resolver for expressionsAleksey Kladov2019-04-121-6/+18
|
* add todoAleksey Kladov2019-04-111-0/+1
|
* use correct resolver for expressionsAleksey Kladov2019-04-111-3/+1
|
* remove resolver from CompletonContextAleksey Kladov2019-04-111-24/+5
|
* generalize SourceAnalyzer to handle all defs with bodiesAleksey Kladov2019-04-111-11/+19
|
* minimize the APIAleksey Kladov2019-04-111-19/+9
|
* renameAleksey Kladov2019-04-111-6/+6
|
* introduce SourceAnalyzerAleksey Kladov2019-04-111-2/+98
|
* Merge #1076bors[bot]2019-04-021-1/+43
|\ | | | | | | | | | | | | | | | | 1076: Const body inference r=flodiebold a=Lapz This is the second part of #887. I've added type inference on const bodies and introduced the DefWithBody containing Function, Const and Static. I want to add tests but im unsure on how I would go about testing that completions work. Co-authored-by: Lenard Pratt <[email protected]>
| * Added const bodies and static body to the astLenard Pratt2019-04-021-1/+43
| | | | | | | | | | | | and added inference the inference test reduce code duplication
* | switch to new rowanAleksey Kladov2019-04-011-4/+4
|/
* renameAleksey Kladov2019-03-261-2/+2
|
* add typed idsAleksey Kladov2019-03-261-4/+4
|
* simplifyAleksey Kladov2019-03-261-3/+3
|
* move source_id to a separate fileAleksey Kladov2019-03-261-2/+2
|
* replace todo with fixmeAleksey Kladov2019-03-231-3/+3
|
* remove lower moduleAleksey Kladov2019-03-171-40/+2
|
* Replace module_tree with CrateDefMapAleksey Kladov2019-03-171-2/+2
|
* Add support for goto definition and hover on SelfVille Penttinen2019-03-071-24/+25
| | | | This fixes #943
* align lower module query namesAleksey Kladov2019-03-021-1/+1
|
* reformat the worldAleksey Kladov2019-02-081-22/+9
|
* Some cleanup and additional testsFlorian Diebold2019-02-011-4/+17
|
* CleanupFlorian Diebold2019-02-011-6/+2
|
* Use the new Resolver API for goto defFlorian Diebold2019-02-011-0/+28
|
* Use the new Resolver API in completionFlorian Diebold2019-02-011-4/+27
|
* Sketching the resolver APIFlorian Diebold2019-02-011-1/+6
|
* Go To Implementation for Traitkjeremy2019-01-311-1/+14
|
* Use Crate instead of CrateIdAleksey Kladov2019-01-301-2/+3
|
* Go to Implementation for structs and enumsJeremy Kolb2019-01-301-1/+23
|
* remove Option<SourceFileItemId> hackAleksey Kladov2019-01-261-16/+12
|