aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/hover.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove methodowner & fix formattingZac Pullar-Strecker2020-10-081-1/+1
|
* Rename ide::link_rewrite -> ide::doc_links & tidy importsZac Pullar-Strecker2020-10-081-1/+1
|
* Merge #6140bors[bot]2020-10-061-6/+45
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6140: honour hover.content_format client capability r=lnicola a=robinvd This removes all markdown when the client does not support the markdown MarkupKind. Otherwise the output on the editor will have some markdown boilerplate, making it less readable. For example kak_lsp does not currently support markdown. ![image](https://user-images.githubusercontent.com/22073483/95112949-ef0ff080-0741-11eb-82a7-0594fa2cd736.png) after: ![image](https://user-images.githubusercontent.com/22073483/95113089-2bdbe780-0742-11eb-94fa-bcfec6d7347a.png) Co-authored-by: Robin van Dijk <[email protected]>
| * honor content_format clientcapRobin van Dijk2020-10-051-6/+45
| | | | | | | | | | | | This removes all markdown when the client does not support the markdown MarkupKind Otherwise the output on the editor will have some markdown boilerplate, making it less readable
* | Properly name the fieldKirill Bulatov2020-10-021-1/+1
| |
* | Add a dash testKirill Bulatov2020-10-021-0/+30
|/
* rename mock_analysis -> fixtureAleksey Kladov2020-10-021-8/+8
|
* Get rid of MockAnalysisAleksey Kladov2020-10-021-46/+46
|
* Add hover config `linksInHover` to suppress linksflw2020-09-291-9/+104
|
* Fix type walking about type of async blockoxalica2020-09-111-0/+64
|
* Tease apart orthogonal concerns in markdown link rewritingAleksey Kladov2020-08-261-0/+54
| | | | | | | | | | | | `hir` should know nothing about URLs, markdown and html. It should only be able to: * resolve stringy path from documentation * generate canonical stringy path for a def In contrast, link rewriting should not care about semantics of paths and names resolution, and should be concern only with text mangling bits.
* Cleanup hover links testsAleksey Kladov2020-08-261-88/+74
|
* Merge remote-tracking branch 'upstream/master' into 503-hover-doc-linksZac Pullar-Strecker2020-08-241-55/+542
|
* Switch to expect_test from crates.ioAleksey Kladov2020-08-211-1/+1
|
* display correctly 'impl Trait<T> + Trait<T>' #4814Benjamin Coenen2020-08-131-0/+19
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Rename ra_ide -> ideAleksey Kladov2020-08-131-0/+2461