aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/source_binder.rs
Commit message (Collapse)AuthorAgeFilesLines
* simplifyAleksey Kladov2019-05-121-15/+3
|
* simplifyAleksey Kladov2019-05-121-7/+6
|
* Merge #1208bors[bot]2019-05-041-3/+40
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1208: [WIP] Goto for Macro's r=matklad a=Lapz Adds goto definition for macros. Currently only works for macros in the current crate ~~otherwise it panics~~. Proper macro resolution needs to be added for it to resolve macros in other crates. Todo - [X] Allow goto from macro calls - [X] Fix panics - [x] Add tests ![Screen Recording 2019-04-25 at 18 00 24](https://user-images.githubusercontent.com/19998186/56754499-1dd01c00-6785-11e9-9e9a-1e36de70cfa3.gif) Co-authored-by: Lenard Pratt <[email protected]>
| * Added local macro gotoLenard Pratt2019-05-041-3/+40
| |
* | Handle recursive types in canonicalizationFlorian Diebold2019-05-041-1/+1
| |
* | Canonicalize before doing method resolutionFlorian Diebold2019-05-041-1/+10
|/
* move auto-imoprter into IDEAleksey Kladov2019-04-221-14/+1
| | | | | auto-import is purely an IDE concern, so it should be done outside of HIR
* 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
|