From 6bf97692ae88b5c845aa35ba349e2e3c52bdd09d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Tue, 8 Feb 2022 08:34:24 +0200 Subject: [PATCH] Add scary warning to onEnter --- crates/ide/src/typing/on_enter.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/ide/src/typing/on_enter.rs b/crates/ide/src/typing/on_enter.rs index 88d9777f1d..48c1713270 100644 --- a/crates/ide/src/typing/on_enter.rs +++ b/crates/ide/src/typing/on_enter.rs @@ -24,6 +24,10 @@ use text_edit::TextEdit; // // This action needs to be assigned to shortcut explicitly. // +// Note that, depending on the other installed extensions, this feature can visibly slow down typing. +// Similarly, if rust-analyzer crashes or stops responding, `Enter` might not work. +// In that case, you can still press `Shift-Enter` to insert a newline. +// // VS Code:: // // Add the following to `keybindings.json`: