aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/goto_definition.rs
Commit message (Collapse)AuthorAgeFilesLines
* for goto and hover pick the token based on a prioritysucccubbus2019-12-131-3/+15
|
* add tests for goto on tuple fieldssucccubbus2019-12-131-0/+16
|
* fix goto definition when inbetween tokenssucccubbus2019-12-131-2/+14
| | | | | | | | fixes both goto_definition and goto_type_definition. before, when running goto between some non-trivia token and an identifier, goto would be attempted for the non-trivia token. but this does not make sense for e.g. L_PAREN or COLONCOLON only for IDENTs. now only IDENTs will be searched for in goto actions.
* Report correct original range in goto_definitionAleksey Kladov2019-12-091-9/+7
|
* Fix range in goto_through_format testFlorian Diebold2019-12-081-1/+1
|
* Fix expansion of format_argsFlorian Diebold2019-12-081-1/+0
|
* Rename GenericParam -> TypeParamAleksey Kladov2019-12-071-1/+1
| | | | We don't have LifetimeParam yet, but they are planned!
* Gotodef for TypeParametersAleksey Kladov2019-12-071-7/+18
|
* 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.
* Rename Source -> InFileAleksey Kladov2019-11-281-4/+4
|
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-271-0/+696