rust/crates
bors[bot] d10e2a04c8
Merge #6351
6351: Organized completions r=popzxc a=popzxc

This PR continues the work on refactoring of the `completions` crate.

In this episode:

- Actual completions methods are encapsulated into `completions` module, so they aren't mixed with the rest of the code.
- Name duplication was removed (`complete_attribute` => `completions::attribute`, `completion_context` => `context`).
- `Completions` structure was moved from `item` module to the `completions`.
- `presentation` module was removed, as it was basically a module with `impl` for `Completions`.
- Code approaches were a bit unified here and there.


Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
2020-10-26 19:06:34 +00:00
..
arena Add TBD description to arena 2020-08-24 13:29:10 +02:00
assists Merge #6333 2020-10-26 14:34:00 +00:00
base_db More type safety around names 2020-10-20 17:09:03 +02:00
cfg cfg: move tests to separate file 2020-10-23 12:14:58 +02:00
completion Reduce visibility of some methods 2020-10-26 20:37:19 +03:00
flycheck Update crates 2020-10-20 17:36:02 -04:00
hir Merge #6251 #6310 2020-10-23 22:12:15 +00:00
hir_def Handle #![cfg] in crate root 2020-10-26 16:04:08 +01:00
hir_expand Fix typo in comment 2020-10-21 21:51:53 +02:00
hir_ty Merge #6350 2020-10-26 13:20:57 +00:00
ide Fix unary minus highlighting 2020-10-25 23:05:30 +01:00
ide_db Merge #6331 #6342 2020-10-24 19:08:12 +00:00
mbe Cleanup 2020-10-07 11:55:20 +02:00
parser Don't interpret type path as part of visibility. 2020-10-24 02:20:45 -04:00
paths Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_api Bump crossbeam-channel in crates 2020-10-13 16:57:01 +03:00
proc_macro_srv Update crates 2020-10-20 17:36:02 -04:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile Bump rustc_lexer, cfg-if to 1.0 and add new license to check 2020-10-08 10:39:02 -04:00
project_model Update crates 2020-10-20 17:36:02 -04:00
rust-analyzer Update tests 2020-10-26 09:57:46 -04:00
ssr Re-export base_db from ide_db 2020-10-24 11:39:57 +03:00
stdx Fix panic context 2020-10-23 15:18:33 +02:00
syntax Merge #6333 2020-10-26 14:34:00 +00:00
test_utils Fix indentation of inserted use statements 2020-10-24 18:25:23 +02:00
text_edit Actually assert disjointness 2020-09-03 13:37:36 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Add description for crates that will be published 2020-08-24 13:07:22 +02:00
vfs Rename the method to avoid false promises 2020-09-10 01:45:49 +03:00
vfs-notify Follow symlinks when walking project trees 2020-10-15 14:22:36 -04:00