aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/goto_definition.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove the old variants replaced by Ty::ApplyFlorian Diebold2019-03-211-8/+6
|
* Add support for goto definition and hover on SelfVille Penttinen2019-03-071-2/+94
| | | | This fixes #943
* Use source mapkjeremy2019-03-061-14/+9
|
* Hover for associated items in patternskjeremy2019-03-061-8/+32
|
* Make ExpOrPatId privatekjeremy2019-03-041-1/+1
|
* Add NavigationTarget::from_impl_itemJeremy Kolb2019-03-041-13/+2
|
* Use ImplItems instead of just FunctionJeremy Kolb2019-03-041-5/+16
|
* Make goto definition/hover resolve constructorskjeremy2019-03-041-4/+25
|
* remove second way to get the bodyAleksey Kladov2019-03-021-1/+1
|
* rename syntax_mapping as wellAleksey Kladov2019-03-021-9/+8
|
* rename syntax-mapping -> source-mapAleksey Kladov2019-03-021-3/+3
|
* Allow goto-definition to work for named fields in struct initializerVille Penttinen2019-02-271-0/+44
| | | | | Now goto definition should work when done on a named field in a struct initializer.
* Add support for hovering over the name of an itemVille Penttinen2019-02-271-1/+1
|
* rename type to type_alias in the AST as wellAleksey Kladov2019-02-251-2/+2
|
* Remove unnecessary to_nav_targetVille Penttinen2019-02-231-16/+12
|
* Fix goto def not working when cursor was over the name of a defVille Penttinen2019-02-231-3/+124
| | | | | We now allow goto_definition to return the named NavigationTarget if the cursor is on the name of a definition.
* Fix some typosPascal Hertleif2019-02-121-4/+4
|
* reformat the worldAleksey Kladov2019-02-081-28/+12
|