diff options
author | Kirill Bulatov <[email protected]> | 2020-11-24 22:42:58 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-11-24 22:42:58 +0000 |
commit | 9812150047ea5f53631762e83ed25177e821857f (patch) | |
tree | de4a605a37481f12db88ae8fc9dc00cd2bc801b0 | |
parent | 4c95c6e25d7765798fc527f11beb6c039c6adabe (diff) |
Document experimental completions
-rw-r--r-- | crates/completion/src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/completion/src/lib.rs b/crates/completion/src/lib.rs index cb6e0554e..aecc1378b 100644 --- a/crates/completion/src/lib.rs +++ b/crates/completion/src/lib.rs | |||
@@ -67,6 +67,13 @@ pub use crate::{ | |||
67 | // fn test_name() {} | 67 | // fn test_name() {} |
68 | // } | 68 | // } |
69 | // ``` | 69 | // ``` |
70 | // | ||
71 | // And experimental completions, enabled with the `rust-analyzer.completion.enableExperimental` setting. | ||
72 | // This flag enables or disables: | ||
73 | // | ||
74 | // - Auto import: additional completion options with automatic `use` import and options from all project importable items, matched for the input | ||
75 | // | ||
76 | // Experimental completions might cause issues with performance and completion list look. | ||
70 | 77 | ||
71 | /// Main entry point for completion. We run completion as a two-phase process. | 78 | /// Main entry point for completion. We run completion as a two-phase process. |
72 | /// | 79 | /// |