aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/goto_definition.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* move index_resolve to symbol indexAleksey Kladov2019-02-081-2/+1
|
* Some clippy cleanupskjeremy2019-02-061-1/+5
|
* Make the Resolution variants tuple variantsFlorian Diebold2019-02-011-3/+3
|
* CleanupFlorian Diebold2019-02-011-0/+1
|
* Use the new Resolver API for goto defFlorian Diebold2019-02-011-19/+30
|
* rename source_file -> parseAleksey Kladov2019-01-261-1/+1
|
* rename FilesDatabase -> SourceDatabaseAleksey Kladov2019-01-261-1/+1
|
* fold syntax database into files databaseAleksey Kladov2019-01-261-1/+1
|
* fix todoAleksey Kladov2019-01-251-3/+1
|
* add ability to get strcut field sourceAleksey Kladov2019-01-251-4/+30
|
* update ide_api to new hirAleksey Kladov2019-01-241-4/+2
|
* Change ids strategyAleksey Kladov2019-01-241-2/+2
| | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids
* remove Canceled from API implAleksey Kladov2019-01-151-18/+15
|
* remove Cancelable from type inferenceAleksey Kladov2019-01-151-1/+1
|
* remove Cancelable from nameresAleksey Kladov2019-01-151-1/+1
|
* remove Cancelable from fn_scopesAleksey Kladov2019-01-151-1/+1
|
* remove Cancelable from funciton bodyAleksey Kladov2019-01-151-1/+1
|
* remove Cancelable from navigation targetAleksey Kladov2019-01-151-3/+3
|
* remove cancelable from symbolsAleksey Kladov2019-01-151-1/+1
|
* remove Cancelable from source bindersAleksey Kladov2019-01-151-4/+3
|
* goto defenition works for type-inferred methodsAleksey Kladov2019-01-131-2/+49
|
* Add an explanatory message when we use the Query fallbackDJMcNab2019-01-131-6/+25
|
* fix testsAleksey Kladov2019-01-111-35/+19
|