Created
October 13, 2017 21:38
-
-
Save mcupak/100c63de4cd9233d3a45e57b24f96915 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jshell> /help shortcuts | |
| | | |
| | shortcuts | |
| | | |
| | Supported shortcuts include: | |
| | | |
| | <tab> | |
| | After entering the first few letters of a Java identifier, | |
| | a jshell command, or, in some cases, a jshell command argument, | |
| | press the <tab> key to complete the input. | |
| | If there is more than one completion, then possible completions will be shown. | |
| | Will show documentation if available and appropriate. | |
| | | |
| | Shift-<tab> v | |
| | After a complete expression, hold down <shift> while pressing <tab>, | |
| | then release and press "v", the expression will be converted to | |
| | a variable declaration whose type is based on the type of the expression. | |
| | | |
| | Shift-<tab> i | |
| | After an unresolvable identifier, hold down <shift> while pressing <tab>, | |
| | then release and press "i", and jshell will propose possible imports | |
| | which will resolve the identifier based on the content of the specified classpath. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment