rust/crates
bors[bot] 2252a65f23
Merge #5687
5687: Fix document symbols order r=matklad a=magurotuna

Resolves #5655 
And adds tests for `handle_document_symbol`, both with `hierarchical_symbols` enabled and with it disabled.

Previously document symbols were displayed in reverse order  in sublime text with its LSP plugin, but this patch fixes it like this:

![image](https://user-images.githubusercontent.com/23649474/89709020-fbccce00-d9b6-11ea-83b0-c88dc9f7977f.png)


Co-authored-by: Yusuke Tanaka <yusuktan@maguro.dev>
2020-08-18 11:58:02 +00:00
..
arena Rename ra_arena 2020-08-12 16:22:05 +02:00
assists Merge #5776 #5780 2020-08-17 14:30:24 +00:00
base_db Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
cfg Rename ra_cfg -> cfg 2020-08-13 10:36:04 +02:00
expect Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
flycheck Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
hir Don't expose hir::Path out of hir 2020-08-15 18:50:41 +02:00
hir_def Remove deprecated Path::from_ast 2020-08-15 18:22:16 +02:00
hir_expand Rename ra_hir_expand -> hir_expand 2020-08-13 16:29:33 +02:00
hir_ty Fix missing match arm false error on unknown type 2020-08-17 13:27:12 -04:00
ide Fix typo in comment 2020-08-15 16:37:44 -04:00
ide_db Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
mbe Rename ra_mbe -> mbe 2020-08-13 10:36:04 +02:00
parser Better recovery in use foo::; 2020-08-13 18:50:21 +02:00
paths Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
proc_macro_api Hacky support for fn-like proc macros 2020-08-15 15:34:56 +02:00
proc_macro_srv Add a proc_macro_test crate 2020-08-15 00:27:32 +02:00
proc_macro_test Add a proc_macro_test crate 2020-08-15 00:27:32 +02:00
profile Rename ra_prof -> profile 2020-08-12 16:35:29 +02:00
project_model Rename ra_db -> base_db 2020-08-13 16:29:33 +02:00
rust-analyzer Merge #5687 2020-08-18 11:58:02 +00:00
ssr Merge #5758 2020-08-18 10:52:27 +00:00
stdx Minor 2020-08-18 13:20:28 +02:00
syntax Merge #5776 #5780 2020-08-17 14:30:24 +00:00
test_utils Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00
text_edit Rename ra_text_edit -> text_edit 2020-08-12 17:03:06 +02:00
toolchain Rename ra_toolchain -> toolchain 2020-08-12 16:52:28 +02:00
tt Rename ra_tt -> tt 2020-08-12 16:46:54 +02:00
vfs Sophisticate Windows path encoding 2020-08-14 02:03:54 +02:00
vfs-notify Rename ra_ide -> ide 2020-08-13 17:58:27 +02:00