Skip to content

Commit 6bf9769

Browse files
committed
Add scary warning to onEnter
1 parent ba33054 commit 6bf9769

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)