From 276022682b0b4745d44027a2f6c47f5e07cecbc3 Mon Sep 17 00:00:00 2001 From: Ayomide Bamidele <48062697+MozarellaMan@users.noreply.github.com> Date: Wed, 31 Mar 2021 00:08:10 +0100 Subject: Gifs and screenshots for features in manual --- crates/ide_completion/src/completions/postfix/format_like.rs | 2 ++ crates/ide_completion/src/lib.rs | 2 ++ 2 files changed, 4 insertions(+) (limited to 'crates/ide_completion/src') diff --git a/crates/ide_completion/src/completions/postfix/format_like.rs b/crates/ide_completion/src/completions/postfix/format_like.rs index 3f1c6730b..e86ffa8f8 100644 --- a/crates/ide_completion/src/completions/postfix/format_like.rs +++ b/crates/ide_completion/src/completions/postfix/format_like.rs @@ -13,6 +13,8 @@ // + `logi` -> `log::info!(...)` // + `logw` -> `log::warn!(...)` // + `loge` -> `log::error!(...)` +// +// image::https://user-images.githubusercontent.com/48062697/113020656-b560f500-917a-11eb-87de-02991f61beb8.gif[] use ide_db::helpers::SnippetCap; use syntax::ast::{self, AstToken}; diff --git a/crates/ide_completion/src/lib.rs b/crates/ide_completion/src/lib.rs index 5ac1cb48d..831d543bb 100644 --- a/crates/ide_completion/src/lib.rs +++ b/crates/ide_completion/src/lib.rs @@ -81,6 +81,8 @@ pub use crate::{ // And the auto import completions, enabled with the `rust-analyzer.completion.autoimport.enable` setting and the corresponding LSP client capabilities. // Those are the additional completion options with automatic `use` import and options from all project importable items, // fuzzy matched agains the completion imput. +// +// image::https://user-images.githubusercontent.com/48062697/113020667-b72ab880-917a-11eb-8778-716cf26a0eb3.gif[] /// Main entry point for completion. We run completion as a two-phase process. /// -- cgit v1.2.3