rust/crates
Florian Diebold 85633656df Fix hover on the beginning of a nested expression
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.
2019-04-28 16:03:49 +02:00
..
gen_lsp_server switch to official extend selection API 2019-04-21 12:13:48 +03:00
ra_arena Add is_empty to Arena 2019-04-26 11:42:10 -04:00
ra_assists Merge #1194 2019-04-22 13:19:47 +00:00
ra_batch migrate to salsas interning 2019-04-09 22:51:22 +03:00
ra_cli
ra_db drop old interning infra 2019-04-09 22:52:06 +03:00
ra_fmt replace usages of algo::generate with iter::successors from std 2019-04-13 16:43:49 +02:00
ra_hir Add more information on macro rules fail to parse 2019-04-26 02:03:55 +08:00
ra_ide_api Fix hover on the beginning of a nested expression 2019-04-28 16:03:49 +02:00
ra_lsp_server Basic resolution for ADT 2019-04-23 14:32:47 -04:00
ra_mbe Use panic instead of unwrap 2019-04-26 02:56:44 +08:00
ra_parser Simplify 2019-04-26 11:42:56 -04:00
ra_prof Simplify 2019-04-26 11:42:56 -04:00
ra_project_model Sends cwd info for runnables and code lenses 2019-04-14 10:04:38 +02:00
ra_syntax Fix hover on the beginning of a nested expression 2019-04-28 16:03:49 +02:00
ra_text_edit
ra_tt Use map, sum in Subtree::coount instead of fold 2019-04-22 17:37:27 +08:00
test_utils
thread_worker
tools