aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/source_binder.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* rename range -> text_rangeAleksey Kladov2019-07-201-1/+1
|
* cleanup castsAleksey Kladov2019-07-191-9/+5
|
* several highlighting cleanupsAleksey Kladov2019-07-191-2/+13
| | | | | | * make stuff more type-safe by using `BindPat` instead of just `Pat` * don't add `mut` into binding hash * reset shadow counter when we enter a function
* migrate ra_hir to the new rowanAleksey Kladov2019-07-191-27/+27
|
* complete fields in enum variantsEkaterina Babshukova2019-07-121-0/+5
|
* make Parse fields privateAleksey Kladov2019-07-121-2/+2
| | | | this is in preparation for the new rowan API
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-7/+11
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* Implement autoderef using the Deref traitFlorian Diebold2019-06-151-0/+11
| | | | - add support for other lang item targets, since we need the Deref lang item
* use Source for module, part 1Aleksey Kladov2019-06-111-3/+3
|
* remove some hacks from nameresolution for macrosAleksey Kladov2019-06-081-3/+2
|
* somewhat better nameAleksey Kladov2019-06-081-2/+2
|
* one macro def should be enoughAleksey Kladov2019-06-081-24/+6
|
* Fix clippy::identity_conversionAlan Du2019-06-041-7/+4
|
* Improve goto definition for MBEEdwin Cheng2019-06-011-2/+7
|
* fix syntax errors in testsAleksey Kladov2019-05-281-1/+1
|
* 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
|