95 Type a Java language expression, statement, or declaration.\n\ |
95 Type a Java language expression, statement, or declaration.\n\ |
96 Or type one of the following commands:\n |
96 Or type one of the following commands:\n |
97 jshell.msg.help.subject =\n\ |
97 jshell.msg.help.subject =\n\ |
98 For more information type ''/help'' followed by the name of a\n\ |
98 For more information type ''/help'' followed by the name of a\n\ |
99 command or a subject.\n\ |
99 command or a subject.\n\ |
100 For example ''/help /list'' or ''/help intro''. Subjects:\n |
100 For example ''/help /list'' or ''/help intro''.\n\ |
|
101 \n\ |
|
102 Subjects:\n\ |
|
103 \n |
101 |
104 |
102 jshell.err.drop.arg =\ |
105 jshell.err.drop.arg =\ |
103 In the /drop argument, please specify an import, variable, method, or class to drop.\n\ |
106 In the /drop argument, please specify an import, variable, method, or class to drop.\n\ |
104 Specify by id or name. Use /list to see ids. Use /reset to reset all state. |
107 Specify by id or name. Use /list to see ids. Use /reset to reset all state. |
105 jshell.err.drop.ambiguous = The argument references more than one import, variable, method, or class. |
108 jshell.err.drop.ambiguous = The argument references more than one import, variable, method, or class. |
401 help.help =\ |
404 help.help =\ |
402 Display information about jshell.\n\ |
405 Display information about jshell.\n\ |
403 /help\n\t\ |
406 /help\n\t\ |
404 List the jshell commands and help subjects.\n\n\ |
407 List the jshell commands and help subjects.\n\n\ |
405 /help <command>\n\t\ |
408 /help <command>\n\t\ |
406 Display information about the specified comand. The slash must be included.\n\t\ |
409 Display information about the specified command. The slash must be included.\n\t\ |
407 Only the first few letters of the command are needed -- if more than one\n\t\ |
410 Only the first few letters of the command are needed -- if more than one\n\t\ |
408 each will be displayed. Example: /help /li\n\n\ |
411 each will be displayed. Example: /help /li\n\n\ |
409 /help <subject>\n\t\ |
412 /help <subject>\n\t\ |
410 Display information about the specified help subject. Example: /help intro |
413 Display information about the specified help subject. Example: /help intro |
411 |
414 |
442 help.quest =\ |
445 help.quest =\ |
443 Display information about jshell (abbreviation for /help).\n\ |
446 Display information about jshell (abbreviation for /help).\n\ |
444 /?\n\t\ |
447 /?\n\t\ |
445 Display list of commands and help subjects.\n\ |
448 Display list of commands and help subjects.\n\ |
446 /? <command>\n\t\ |
449 /? <command>\n\t\ |
447 Display information about the specified comand. The slash must be included.\n\t\ |
450 Display information about the specified command. The slash must be included.\n\t\ |
448 Only the first few letters of the command are needed -- if more than one\n\t\ |
451 Only the first few letters of the command are needed -- if more than one\n\t\ |
449 match, each will be displayed. Example: /? /li\n\ |
452 match, each will be displayed. Example: /? /li\n\ |
450 /? <subject>\n\t\ |
453 /? <subject>\n\t\ |
451 Display information about the specified help subject. Example: /? intro |
454 Display information about the specified help subject. Example: /? intro |
452 |
455 |
476 There are also jshell commands that allow you to understand and\n\ |
479 There are also jshell commands that allow you to understand and\n\ |
477 control what you are doing, like: /list\n\ |
480 control what you are doing, like: /list\n\ |
478 \n\ |
481 \n\ |
479 For a list of commands: /help |
482 For a list of commands: /help |
480 |
483 |
481 help.shortcuts.summary = a description of shortcuts |
484 help.shortcuts.summary = a description of keystrokes for snippet and command completion,\n\ |
|
485 information access, and automatic code generation |
482 help.shortcuts =\ |
486 help.shortcuts =\ |
483 Supported shortcuts include:\n\ |
487 Supported shortcuts include:\n\ |
484 \n\ |
488 \n\ |
485 <tab>\n\t\t\ |
489 <tab>\n\t\t\ |
486 After entering the first few letters of a Java identifier,\n\t\t\ |
490 After entering the first few letters of a Java identifier,\n\t\t\ |
789 The form without <command> or options shows the editor setting.\n |
793 The form without <command> or options shows the editor setting.\n |
790 |
794 |
791 help.set.start =\ |
795 help.set.start =\ |
792 Set the start-up configuration -- a sequence of snippets and commands read at start-up:\n\ |
796 Set the start-up configuration -- a sequence of snippets and commands read at start-up:\n\ |
793 \n\t\ |
797 \n\t\ |
794 /set start [-retain] <file>\n\ |
798 /set start [-retain] <file>...\n\ |
795 \n\t\ |
799 \n\t\ |
796 /set start [-retain] -default\n\ |
800 /set start [-retain] -default\n\ |
797 \n\t\ |
801 \n\t\ |
798 /set start [-retain] -none\n\ |
802 /set start [-retain] -none\n\ |
799 \n\ |
803 \n\ |
804 Show the start-up setting:\n\ |
808 Show the start-up setting:\n\ |
805 \n\t\ |
809 \n\t\ |
806 /set start\n\ |
810 /set start\n\ |
807 \n\ |
811 \n\ |
808 The contents of the specified <file> become the start-up snippets and commands used\n\ |
812 The contents of the specified <file> become the start-up snippets and commands used\n\ |
809 when the /reset or /reload commands are used in this session.\n\ |
813 when the /reset, /reload, or /env commands are used in this session.\n\ |
810 If instead the -default option is specified, the predefined start-up snippets\n\ |
814 If instead the -default option is specified, the predefined start-up import\n\ |
811 will be used.\n\ |
815 snippets will be used.\n\ |
812 If the -none option is used, the start-up will be empty -- no start-up snippets\n\ |
816 If the -none option is used, the start-up will be empty -- no start-up snippets\n\ |
813 or commands will be used.\n\ |
817 or commands will be used.\n\ |
814 This command is good for testing the start-up settings. To retain them for future\n\ |
818 This command is good for testing the start-up settings. To retain them for future\n\ |
815 runs of the jshell tool use the command:\n\t\ |
819 runs of the jshell tool use the command:\n\t\ |
816 /set start -retain\n\ |
820 /set start -retain\n\ |
818 When the -retain option is used, the setting will be used in this and future\n\ |
822 When the -retain option is used, the setting will be used in this and future\n\ |
819 runs of the jshell tool.\n\ |
823 runs of the jshell tool.\n\ |
820 \n\ |
824 \n\ |
821 The form without <file> or options shows the start-up setting.\n\ |
825 The form without <file> or options shows the start-up setting.\n\ |
822 Note: if the start-up was last set from a file, this is shown with the\n\ |
826 Note: if the start-up was last set from a file, this is shown with the\n\ |
823 contents of the file followed by a 'set start' command. |
827 'set start' command followed by the contents of the file.\n\ |
|
828 \n\ |
|
829 The <file> may be an operating system file name, or one of the predefined\n\ |
|
830 startup file names: DEFAULT, PRINTING, or JAVASE.\n\ |
|
831 These are respectively: the default import snippets (as used by -default),\n\ |
|
832 definitions of print(), println(), and printf() method snippets, or\n\ |
|
833 imports of all Java SE packages.\n\ |
|
834 More than one <file> may be specified, for example:\n\ |
|
835 \n\t\ |
|
836 /set start -retain DEFAULT PRINTING |
824 |
837 |
825 startup.feedback = \ |
838 startup.feedback = \ |
826 /set mode verbose -command \n\ |
839 /set mode verbose -command \n\ |
827 \n\ |
840 \n\ |
828 /set prompt verbose '\\njshell> ' ' ...> ' \n\ |
841 /set prompt verbose '\\njshell> ' ' ...> ' \n\ |