aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/goto_definition.rs
Commit message (Collapse)AuthorAgeFilesLines
* More sourcesAleksey Kladov2019-11-181-22/+11
|
* Add ra_ide_api::expandAleksey Kladov2019-11-181-22/+5
| | | | | This module should handle all tricky bits with mapping macro-expanded HirFileId to original files the user actually can see in the editor
* More correct expansion mappingAleksey Kladov2019-11-171-22/+26
| | | | We can't really map arbitrary ranges, we only can map tokens
* Better factoring of macro expansion machinery in goto defAleksey Kladov2019-11-161-11/+20
|
* Goto definition works inside macrosAleksey Kladov2019-11-161-10/+40
|
* Source-ify name_definitionAleksey Kladov2019-11-161-20/+19
|
* Sourcify classify_name_refAleksey Kladov2019-11-161-5/+6
|
* Add hir::LocalAleksey Kladov2019-11-111-2/+1
|
* Introduce ToNav traitAleksey Kladov2019-11-111-8/+8
|
* Add testsEdwin Cheng2019-11-041-0/+40
|
* Use new expansion feature in goto_definitionEdwin Cheng2019-11-041-13/+24
|
* Record assoc item resolutionFlorian Diebold2019-11-011-0/+55
|
* Fixes #2143kjeremy2019-10-311-0/+19
|
* some fixes, add docsEkaterina Babshukova2019-10-221-6/+6
|
* use Lazy, some fixesEkaterina Babshukova2019-10-221-1/+1
|
* remove `unreachable!()`Ekaterina Babshukova2019-10-221-1/+1
|
* replace trait by a bunch of functionsEkaterina Babshukova2019-10-221-1/+1
|
* restructure a bitEkaterina Babshukova2019-10-221-3/+2
|
* find scope for `Declaration` itemEkaterina Babshukova2019-10-221-1/+1
|
* return Declaration from classify_name_refEkaterina Babshukova2019-10-221-8/+8
|
* refactor name_ref_kind.rsEkaterina Babshukova2019-10-221-2/+1
|
* initial classify_nameEkaterina Babshukova2019-10-221-1/+1
|
* replace AST visitors with macroEkaterina Babshukova2019-10-051-90/+95
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* introduce FromSource traitEkaterina Babshukova2019-09-191-3/+2
|
* Refactor a bit to prepare for resolving trait assoc itemsFlorian Diebold2019-09-171-1/+1
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-6/+6
|
* rename range -> text_rangeAleksey Kladov2019-07-201-2/+2
|
* migrate ra_ide_api to the new rowanAleksey Kladov2019-07-191-28/+78
|
* 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-5/+4
| | | | | | 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
* move docs under code modelAleksey Kladov2019-06-111-4/+4
|
* Rename Description to ShortLabelEdwin Cheng2019-06-091-11/+11
|
* Add display::DescriptionEdwin Cheng2019-06-091-12/+13
|
* Construct doc individuallyEdwin Cheng2019-06-081-12/+34
|
* Remove node function in NavTargetEdwin Cheng2019-06-081-2/+2
|
* Improve goto definition for MBEEdwin Cheng2019-06-011-0/+23
|
* update ra_ide_api to use builtinsAleksey Kladov2019-05-301-1/+4
|
* fix typos in mbe testsAleksey Kladov2019-05-281-1/+1
|
* Move NameRef classification logic out of reference_definitionLaurențiu Nicola2019-05-231-79/+25
|
* simplifyAleksey Kladov2019-05-121-1/+1
|
* Added local macro gotoLenard Pratt2019-05-041-0/+40
|
* Fix hover on the beginning of a nested expressionFlorian Diebold2019-04-281-0/+1
| | | | | | | | | | | | | | | | E.g. in ``` let foo = 1u32; if true { <|>foo; } ``` the hover shows `()`, the type of the whole if expression, instead of the more sensible `u32`. The reason for this was that the search for an expression was slightly left-biased: When on the edge between two tokens, it first looked at all ancestors of the left token and then of the right token. Instead merge the ancestors in ascending order, so that we get the smaller of the two possible expressions.
* Get substs for trait refs in impl blocksFlorian Diebold2019-04-141-1/+1
|
* use really correct resolver for expressionsAleksey Kladov2019-04-121-1/+1
|
* minimize the APIAleksey Kladov2019-04-111-4/+2
|
* renameAleksey Kladov2019-04-111-1/+1
|
* introduce SourceAnalyzerAleksey Kladov2019-04-111-104/+48
|
* type-safer source-map for bindingsAleksey Kladov2019-04-101-0/+1
|
* replace todo with fixmeAleksey Kladov2019-03-231-1/+1
|