rust-analyzer/crates/ide_completion/src
Aleksey Kladov 6e9780c005 internal: make CompletionItem and SourceChange consistent
Before this PR, SourceChange used a bool and CompletionItem used an enum
to signify if edit is a snippet. It makes sense to use the same pattern
in both cases. `bool` feels simpler, as there's only one consumer of
this API, and all producers are encapsulated anyway (we check the
capability at the production site).
2021-07-04 15:44:03 +03:00
..
completions Merge #9398 2021-06-24 20:21:20 +00:00
render Nest all the or-patterns! 2021-06-17 17:37:14 +02:00
tests minor: fix lint completion sourcegen 2021-07-04 11:30:56 +03:00
completions.rs Start refactoring ide_completion tests 2021-06-16 21:51:20 +02:00
config.rs Add config setting for self-on-the-fly 2021-05-31 15:14:56 +02:00
context.rs Merge #9356 2021-06-21 13:15:12 +00:00
item.rs internal: make CompletionItem and SourceChange consistent 2021-07-04 15:44:03 +03:00
lib.rs internal: make CompletionItem and SourceChange consistent 2021-07-04 15:44:03 +03:00
patterns.rs Restrict type bound completions to traits, modules and macros 2021-06-23 19:10:03 +02:00
render.rs fix: don't add duplicate & during completion 2021-06-20 19:37:58 +03:00
tests.rs internal: overhaul code generation 2021-07-03 22:11:03 +03:00