We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99e9e52 commit f96fd40Copy full SHA for f96fd40
crates/ide/src/typing.rs
@@ -39,8 +39,11 @@ pub(crate) const TRIGGER_CHARS: &str = ".=>{";
39
// Some features trigger on typing certain characters:
40
//
41
// - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression
42
+// - typing `=` between two expressions adds `;` when in statement position
43
+// - typing `=` to turn an assignment into an equality comparison removes `;` when in expression position
44
// - typing `.` in a chain method call auto-indents
45
// - typing `{` in front of an expression inserts a closing `}` after the expression
46
+// - typing `{` in a use item adds a closing `}` in the right place
47
48
// VS Code::
49
0 commit comments