rust-analyzer/crates
bors[bot] 55ebe6380a Merge #167
167: Attempt to extract useful comments from function signatures r=matklad a=kjeremy

I'm trying to extract useful function comments for signature info. This will also be useful for hover.  This is a WIP (and actually works pretty well!) but I don't think it's the right approach long term so some guidance would be appreciated so that we could also get comments for say types and variable instances etc.

Currently `test_fn_signature_with_simple_doc` fails due to a bug in `extend` but we probably shouldn't use this approach anyway. Maybe comments should be attached to nodes somehow? I'm also thinking that maybe the markdown bits should live in the language server.

Thoughts?

Co-authored-by: Jeremy A. Kolb <jkolb@ara.com>
2018-10-31 19:41:24 +00:00
..
gen_lsp_server Cargo Format 2018-10-16 09:41:10 -04:00
ra_analysis Merge #167 2018-10-31 19:41:24 +00:00
ra_cli Cargo Format 2018-10-16 09:41:10 -04:00
ra_editor Make extend private again 2018-10-31 15:27:35 -04:00
ra_lsp_server Useful comments from function signatures 2018-10-31 15:23:20 -04:00
ra_syntax ast::DocCommentsOwner which represents a documentation comment owner 2018-10-31 15:08:37 -04:00
test_utils Add MockAnalysis to make testing easier 2018-10-31 22:35:01 +03:00
tools clippy: Use if lets and remove redundant returns 2018-10-17 19:42:23 -04:00