-
Notifications
You must be signed in to change notification settings - Fork 123
Keyboard Shortcuts
Will Fuqua edited this page Jun 21, 2026
·
3 revisions
C# REPL aims for an editing experience similar to Visual Studio. Several key bindings can be customized; see Configuring CSharpRepl.
- Enter: run the current line if it is a complete statement, otherwise add a newline
- Ctrl+Enter or Ctrl+Alt+Enter: run and show a detailed representation of the result
- Shift+Enter or Alt+Enter: insert a newline without running
- Ctrl+C: cancel the current line (or copy when text is selected)
-
Ctrl+L or
clear: clear the screen -
Ctrl+D or
exit: exit the REPL - Ctrl+Z / Ctrl+Y: undo / redo
- Ctrl+Alt+Space: request an AI completion at the caret; the result streams directly into the prompt (needs an AI provider API key; see AI Completions)
- Ctrl+Shift+C: copy the entire current input
- Ctrl+X: cut the selection, or the current line if nothing is selected
- Shift+Delete: cut the current line
- Ctrl+V, Shift+Insert, Ctrl+Shift+V: paste (leading indentation is trimmed)
- Ctrl+A: select all
- Ctrl+Backspace / Ctrl+Delete: delete the word to the left / right
- Ctrl+K / Ctrl+U: delete to the end / start of the line
- Ctrl+Left / Ctrl+Right: move one word left / right
- Tab / Shift+Tab: indent / unindent the selected lines (when nothing is selected, Tab inserts indentation)
- Up / Down: cycle backward / forward through previous input
- F1: open MSDN documentation for the type or member under the caret
- F12 or Ctrl+F1: open source via Source Link
- F8 / Ctrl+F8: lowered C# (Debug / Release)
- F9 / Ctrl+F9: IL (Debug / Release)
- Ctrl+Space: open the completion menu
- Enter or Tab: accept the selected option
- Escape: close the menu
- Ctrl+B / Ctrl+F: move by character
- Alt+B / Alt+F: move by word
- Ctrl+P / Ctrl+N: previous / next line