Skip to content

Commit 342c3c4

Browse files
bors[bot]lnicola
andauthored
Merge #11433
11433: minor: Add scary warning to `onEnter` r=lnicola a=lnicola Closes #11432 Co-authored-by: Laurențiu Nicola <[email protected]>
2 parents 415be8b + 6bf9769 commit 342c3c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/ide/src/typing/on_enter.rs

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ use text_edit::TextEdit;
2424
//
2525
// This action needs to be assigned to shortcut explicitly.
2626
//
27+
// Note that, depending on the other installed extensions, this feature can visibly slow down typing.
28+
// Similarly, if rust-analyzer crashes or stops responding, `Enter` might not work.
29+
// In that case, you can still press `Shift-Enter` to insert a newline.
30+
//
2731
// VS Code::
2832
//
2933
// Add the following to `keybindings.json`:

0 commit comments

Comments
 (0)