Editing input

JShell supports editing input at the jshell prompt and editing in an external editor of your choice.

Shell editing enables you to edit snippets and commands as you enter them, and to retrieve and change previously entered snippets and commands. An external editor provides an alternate way to edit and create snippets, which is easier when you work with multiline snippets.

Shell Editing

Editing input at the command prompt makes it easy to correct your input and to retrieve and modify previously entered commands and snippets.

woman avatar