diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2022-02-08 08:34:24 +0200 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2022-02-28 12:15:15 +0200 |
| commit | 6bf97692ae88b5c845aa35ba349e2e3c52bdd09d (patch) | |
| tree | 668c417c9e7248fefb9a81cf977a39b3666e5400 | |
| parent | ba330548023607717295f0dfd61b72eda41aa9dd (diff) | |
| download | rust-6bf97692ae88b5c845aa35ba349e2e3c52bdd09d.tar.gz rust-6bf97692ae88b5c845aa35ba349e2e3c52bdd09d.zip | |
Add scary warning to onEnter
| -rw-r--r-- | crates/ide/src/typing/on_enter.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ide/src/typing/on_enter.rs b/crates/ide/src/typing/on_enter.rs index 88d9777f1dc..48c1713270b 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`: |
