aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/doc_links.rs
Commit message (Collapse)AuthorAgeFilesLines
* Factor out `pick_best_token` ide pattern into `ide_db`Lukas Wirth2021-06-221-16/+8
|
* internal: document that we don't #[ignore] testsAleksey Kladov2021-06-151-6/+12
|
* clippy::useless_returnMaan20032021-06-131-1/+1
|
* clippy::redudant_borrowMaan20032021-06-131-10/+10
|
* Bump misc depsLaurențiu Nicola2021-05-241-3/+3
|
* Enable OPTION::ENABLE_TASKLISTS in pulldown_cmarkLukas Wirth2021-05-131-4/+4
|
* Support crates/module roots in external_docsLukas Wirth2021-04-191-17/+41
|
* Merge #8245bors[bot]2021-04-051-73/+59
|\ | | | | | | | | | | | | | | | | | | 8245: Properly resolve intra doc links in hover and goto_definition r=matklad a=Veykril Unfortunately involves a bit of weird workarounds due to pulldown_cmark's incorrect lifetimes on `BrokenLinkCallback`... I should probably open an issue there asking for the fixes to be pushed to a release since they already exist in the repo for quite some time it seems. Fixes #8258, Fixes #8238 Co-authored-by: Lukas Wirth <[email protected]>
| * Replace Range<usize> usage with TextRangeLukas Wirth2021-03-301-4/+13
| |
| * Use new new docs string source mapping in goto_def and hoverLukas Wirth2021-03-301-74/+43
| |
| * Properly resolve intra doc links in hover and goto_definitionLukas Wirth2021-03-301-30/+38
| |
* | Merge #8186bors[bot]2021-03-301-1/+1
|\ \ | |/ |/| | | | | | | | | | | 8186: Lower traits to `TraitRef` instead of `TypeRef` r=matklad a=Veykril Co-authored-by: Lukas Wirth <[email protected]>
| * Rename target_ty to self_tyLukas Wirth2021-03-291-1/+1
| |
* | Remove code duplication in highlight injectionLukas Wirth2021-03-291-31/+32
|/
* Unleash macro 2.0 in hightlight and moreEdwin Cheng2021-03-271-1/+1
|
* Cleanup intra_doc_link parsingLukas Wirth2021-03-231-82/+51
|
* Show item info when hovering intra doc linksLukas Wirth2021-03-231-25/+104
|
* Semantic highlight intradoclinks in documentationLukas Wirth2021-03-171-7/+6
|
* don't clone types that are copy (clippy::clone_on_copy)Matthias Krüger2021-03-171-2/+2
|
* Upgrade rowanAleksey Kladov2021-03-161-1/+1
| | | | Notably, new rowan comes with support for mutable syntax trees.
* Fix a few clippy::perf warningskjeremy2021-02-161-1/+1
|
* Wrap `BuiltinType` in code modelJonas Schievink2021-02-111-3/+2
|
* Fix broken link in intra-docDaiki Ihara2021-01-221-3/+20
|
* Add flyimport completion for trait assoc itemsKirill Bulatov2021-01-161-4/+4
|
* Merge #7218bors[bot]2021-01-101-2/+2
|\ | | | | | | | | | | | | | | 7218: Fix typos r=Veykril a=regexident Apart from the very last commit on this PR (which fixes a public type's name) all changes are non-breaking. Co-authored-by: Vincent Esche <[email protected]>
| * Fixed typos in code commentsVincent Esche2021-01-091-2/+2
| |
* | Use hir::GenericParam in ide_db::Definition instead of relisting all 3Lukas Wirth2021-01-101-3/+1
| |
* | Support intra_doc linksDaiki Ihara2021-01-081-1/+25
|/
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-8/+8
|
* Add ConstParams to the ide layerLukas Wirth2021-01-011-0/+1
|
* Support labels in reference searchLukas Wirth2020-12-241-1/+2
|
* Align code_model name with ungrammarAleksey Kladov2020-12-201-2/+2
|
* Rename ImplDef -> ImplAleksey Kladov2020-12-171-1/+1
| | | | | | We used to have `Def` suffix for all symbols, but we moved off from that. `FunctionDef` isn't better than `Function`. Looks like we've forgot to change `Impl` though!
* Lifetime reference searchLukas Wirth2020-12-161-1/+4
|
* Remove more unreachable pubsAleksey Kladov2020-11-021-5/+4
|
* Fix opening module documentation opening parent documentation insteadZac Pullar-Strecker2020-10-221-4/+24
| | | | | | The whole path/URL joining code is kind of ugly which is what led to this, but at the same time I don't really want to rewrite it right now...
* Rename declaration_name -> display_nameAleksey Kladov2020-10-201-4/+4
| | | | | | | | Declaration names sounds like a name of declaration -- something you can use for analysis. It empathically isn't, and is just a label displayed in various UI. It's important not to confuse the two, least we accidentally mix semantics with UI (I believe, there's already a case of this in the FamousDefs at least).
* Clarify the names one more timeAleksey Kladov2020-10-151-2/+2
|
* More idiomatic classification APIAleksey Kladov2020-10-151-3/+3
|
* More clarificationsAleksey Kladov2020-10-151-1/+1
|
* Clarify NameClass names a bitAleksey Kladov2020-10-151-1/+1
|
* Bump pulldown-cmarkLaurențiu Nicola2020-10-131-11/+14
|
* Remove methodowner & fix formattingZac Pullar-Strecker2020-10-081-12/+23
|
* Rebase fixesZac Pullar-Strecker2020-10-081-13/+5
|
* Changes from reviewZac Pullar-Strecker2020-10-081-3/+3
|
* Remove outdated part of doc_links module docsZac Pullar-Strecker2020-10-081-2/+0
|
* Add ignored test to demonstrate ImportMap bugZac Pullar-Strecker2020-10-081-1/+26
|
* Fix namespace detection & function testZac Pullar-Strecker2020-10-081-6/+2
|
* Add testsZac Pullar-Strecker2020-10-081-2/+94
|
* Change Option::Some bug to a fixme noteZac Pullar-Strecker2020-10-081-3/+3
| | | | IMO this is too much work to be worth fixing at the moment.