aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #2250Gabriel Luo2019-12-111-12/+66
| | | | | Tuple in type annotation expands correctly; Expansion will prefer the following delimiter when possible. New regression tests added to verify the consistency between tuple expansion in type annotation and tuple expansion in rvalue.
* Report correct original range in goto_definitionAleksey Kladov2019-12-091-9/+7
|
*---. Merge #2500 #2505 #2506bors[bot]2019-12-083-16/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2500: Fix format_args expansion & go to definition r=matklad a=flodiebold The expansion of format_args wasn't yet correct enough to type-check. Also make macros in statement position expand to expressions for now, since it's not handled correctly in HIR lowering yet. This finally fixes go to definition within print macros, I think :slightly_smiling_face: 2505: Remove more dead code r=matklad a=matklad 2506: Remove one more Ty r=matklad a=matklad Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| | | * Remove one more TyAleksey Kladov2019-12-081-1/+1
| | |/
| | * Remove more dead codeAleksey Kladov2019-12-081-13/+1
| |/ |/|
| * Fix range in goto_through_format testFlorian Diebold2019-12-081-1/+1
| |
| * Fix expansion of format_argsFlorian Diebold2019-12-081-1/+0
|/
* Remove ty from code_modelAleksey Kladov2019-12-081-1/+1
|
* Cleanup Crate APIAleksey Kladov2019-12-081-10/+6
|
* Rename GenericParam -> TypeParamAleksey Kladov2019-12-078-13/+13
| | | | We don't have LifetimeParam yet, but they are planned!
* Get the right analyzer for implsAleksey Kladov2019-12-073-1/+18
|
* Classify name works for TypeParamsAleksey Kladov2019-12-071-0/+9
|
* Gotodef for TypeParametersAleksey Kladov2019-12-071-7/+18
|
* ToNav for GenericParamAleksey Kladov2019-12-071-1/+21
|
* Show type hints for & patternsAleksey Kladov2019-12-071-16/+15
|
* Make the goto_through_format test actually fail :(Florian Diebold2019-12-061-0/+3
|
* Try to make go to definition work in format!Florian Diebold2019-12-061-0/+27
| | | | | | | SourceAnalyzer didn't work properly within expression macro expansions because it didn't find the enclosing function. Fix this by going up the expansion chain to find ancestors. This makes the test work, but apparently in real usage it's still not working.
* One pub function less is good!ice10002019-12-051-2/+3
|
* No block at the momentice10002019-12-043-7/+1
|
* Add `ModuleSource::Block`ice10002019-12-043-29/+21
|
* Run rustfmt with respect to Cargo.toml editionVincent Rouillé2019-12-041-0/+5
|
* Replace `ra_hir_expand::either` with crateice10002019-12-033-5/+8
|
* Add tests for checking the impl self typeFlorian Diebold2019-12-021-0/+33
|
* Push identifier check to rename functionWilco Kusee2019-11-292-9/+9
|
* Test rename for various identifiersWilco Kusee2019-11-291-0/+43
|
* Move identifier check to analysisWilco Kusee2019-11-291-1/+8
|
* Rename Source -> InFileAleksey Kladov2019-11-2816-41/+41
|
* Use Name::missing consistentlyAleksey Kladov2019-11-272-9/+3
|
* ReformatAleksey Kladov2019-11-271-2/+1
|
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-2760-0/+17199