From d789cf8f31b3f8281046a352a73e17e15ff3c224 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Wed, 7 Apr 2021 17:19:42 +0200 Subject: Document `}` insertion --- crates/ide/src/typing.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ide/src/typing.rs') diff --git a/crates/ide/src/typing.rs b/crates/ide/src/typing.rs index 809ff7d20..1378048e5 100644 --- a/crates/ide/src/typing.rs +++ b/crates/ide/src/typing.rs @@ -42,6 +42,7 @@ pub(crate) const TRIGGER_CHARS: &str = ".=>{"; // // - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression // - typing `.` in a chain method call auto-indents +// - typing `{` in front of an expression inserts a closing `}` after the expression // // VS Code:: // -- cgit v1.2.3