aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/navigation_target.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add support for goto definition and hover on SelfVille Penttinen2019-03-071-0/+13
| | | | This fixes #943
* FormatJeremy Kolb2019-03-041-7/+2
|
* Add NavigationTarget::from_impl_itemJeremy Kolb2019-03-041-1/+20
|
* Rename Type => TypeAliasFlorian Diebold2019-02-241-1/+1
|
* Add name_range field to FileSymbolVille Penttinen2019-02-231-1/+1
| | | | | | This contains the syntax range of the name itself, allowing NavigationTarget to properly set the focus_range. This should make it so that when using symbol based navigation, we should always focus on the name, instead of the full range.
* Fix NavigationTarget debug_render container_name outputVille Penttinen2019-02-231-1/+1
|
* Fix goto def not working when cursor was over the name of a defVille Penttinen2019-02-231-1/+2
| | | | | We now allow goto_definition to return the named NavigationTarget if the cursor is on the name of a definition.
* Refactor find_all_refs to return ReferenceSearchResultVille Penttinen2019-02-171-3/+13
|
* Turn ImplBlock into a copy type just containing IDsFlorian Diebold2019-02-161-5/+10
| | | | | | | This makes it more like the other code model types. Also make Module::definition_source/declaration_source return HirFileIds, to make them more like the other source functions.
* Use clone directly rather than map + cloneVille Penttinen2019-02-131-1/+1
|
* Add support for container_name in workspace/symbol queryVille Penttinen2019-02-121-0/+11
|
* reformat the worldAleksey Kladov2019-02-081-8/+2
|
* Use the new Resolver API for goto defFlorian Diebold2019-02-011-5/+6
|
* Go to Implementation for structs and enumsJeremy Kolb2019-01-301-0/+10
|
* fix todoAleksey Kladov2019-01-251-35/+10
|
* add ability to get strcut field sourceAleksey Kladov2019-01-251-1/+12
|
* ModuleDef is Def-freeAleksey Kladov2019-01-241-1/+0
|
* Migrate trait & type to new idsAleksey Kladov2019-01-241-31/+28
|
* move consts&statics to new idAleksey Kladov2019-01-241-8/+14
|
* adapt ide_api to the new APIAleksey Kladov2019-01-241-4/+7
|
* adapt ide_api to the new APIAleksey Kladov2019-01-241-7/+13
|
* update ide_api to new hirAleksey Kladov2019-01-241-4/+8
|
* Change ids strategyAleksey Kladov2019-01-241-2/+11
| | | | | | | 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 Cancelable from navigation targetAleksey Kladov2019-01-151-23/+11
|
* remove Cancelable from static&const APIAleksey Kladov2019-01-151-4/+4
|
* remove Cancelable from adt APIAleksey Kladov2019-01-151-3/+3
|
* remove Cancelable from Module APIAleksey Kladov2019-01-151-4/+4
|
* fix go to parent moduleAleksey Kladov2019-01-131-0/+19
|
* actually produce missing def kindsAleksey Kladov2019-01-111-0/+16
|
* kill NavTarget ptrAleksey Kladov2019-01-111-6/+2
|
* fix testsAleksey Kladov2019-01-111-7/+28
|
* envapsulate navigation target betterAleksey Kladov2019-01-111-24/+88
|
* simplifyAleksey Kladov2019-01-111-5/+2
|
* reshuffle nonesAleksey Kladov2019-01-111-21/+10
|
* refactor nav targetAleksey Kladov2019-01-111-20/+29
|
* Make from_syntax privateAleksey Kladov2019-01-111-13/+10
|
* move nav to a separate fileAleksey Kladov2019-01-111-0/+86